![]() |
MOS Source Code
|
#include "mos/lib/structures/list.hpp"#include "mos/platform/platform.hpp"#include "mos/tasks/scheduler.hpp"#include "mos/tasks/task_types.hpp"#include <mos/allocator.hpp>#include <mos_stdlib.hpp>Go to the source code of this file.
Classes | |
| struct | naive_sched_t |
| struct | naive_sched_node_t |
| Node in the naive scheduler's list of threads. More... | |
Functions | |
| static void | naive_sched_init (scheduler_t *instance) |
| static Thread * | naive_sched_select_next (scheduler_t *instance) |
| static void | naive_sched_add_thread (scheduler_t *instance, Thread *thread) |
| static void | naive_sched_remove_thread (scheduler_t *instance, Thread *thread) |
| MOS_PUT_IN_SECTION (".mos.schedulers", scheduler_info_t, MOS_CONCAT(naive, __COUNTER__), { .name="naive",.scheduler=&naive_schedr.base }) | |
Variables | |
| static const scheduler_ops_t | naive_sched_ops |
| static naive_sched_t | naive_schedr |
|
static |
|
static |
|
static |
|
static |
| MOS_PUT_IN_SECTION | ( | ".mos.schedulers" | , |
| scheduler_info_t | , | ||
| MOS_CONCAT(naive, __COUNTER__) | , | ||
| { .name="naive",.scheduler=&naive_schedr.base } | ) |
|
static |
|
static |
Definition at line 98 of file naive.cpp.
Referenced by MOS_PUT_IN_SECTION().