10typedef struct _scheduler_ops
23typedef struct _scheduler
28typedef struct _scheduler_info
34#define MOS_SCHEDULER(_name, _i) MOS_PUT_IN_SECTION(".mos.schedulers", scheduler_info_t, MOS_CONCAT(_name, __COUNTER__), { .name = #_name, .scheduler = &_i })
MOSAPI void(1, 2) fatal_abort(const char *fmt
scheduler_t *const scheduler
void(* init)(scheduler_t *instance)
Initialize the scheduler.
void(* add_thread)(scheduler_t *instance, Thread *thread)
Add a thread to the scheduler.
void(* remove_thread)(scheduler_t *instance, Thread *thread)
Remove a thread from the scheduler.
const scheduler_ops_t * ops