MCPcopy Create free account
hub / github.com/f9micro/f9-kernel / sched_enqueue

Function sched_enqueue

kernel/sched.c:99–151  ·  view source on GitHub ↗

* Enqueue thread to ready queue at its priority level. * Adds to tail for FIFO ordering within priority. * * Optimization: Only updates bitmap when queue was empty. * IRQ-safe: protects critical section from interrupt corruption. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

ipc_fastpath_helperFunction · 0.85
thread_make_runnableFunction · 0.85
notify_wake_threadFunction · 0.85
irq_handler_enableFunction · 0.85
create_root_threadFunction · 0.85
create_kernel_threadFunction · 0.85
create_idle_threadFunction · 0.85
set_kernel_stateFunction · 0.85
sys_notify_waitFunction · 0.85
syscall_handlerFunction · 0.85
sched_set_priorityFunction · 0.85

Calls 3

irq_kernel_critical_exitFunction · 0.85
sched_is_queuedFunction · 0.85

Tested by

no test coverage detected