scheduler_init

Function scheduler_init 

Source
pub unsafe extern "C" fn scheduler_init(
    schedular: Scheduler,
    n_threads: usize,
)
Expand description

Initialize the schedular with the given number of threads.

§Safety

  • n_threads must not be zero.
  • The scheduler must not be “initialized”
    • TODO: What exactly does this mean??