scheduler.c
Include dependency graph for scheduler.c:
Defines
-
SMP_SPINLOCK_LOCK(spinlock)
-
SMP_SPINLOCK_UNLOCK(spinlock)
-
SMP_MUTEX_LOCK(mtx)
-
SMP_MUTEX_TRYLOCK(mtx)
-
SMP_MUTEX_UNLOCK(mtx)
Functions
-
static void scheduler_timeout_callback(struct TimerListItem *it)
-
static int update_timer_list(GlobalContext *global)
-
static Context *scheduler_run0(GlobalContext *global)
-
Context *scheduler_run(GlobalContext *global)
-
Context *scheduler_next(GlobalContext *global, Context *c)
-
void scheduler_stop_all(GlobalContext *global)
-
void scheduler_set_timeout(Context *ctx, avm_int64_t timeout)