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_threadsmust not be zero.- The scheduler must not be “initialized”
- TODO: What exactly does this mean??