pub fn add_and_schedule_thread(thread: Thread) {
    let tid = thread.id;
    tcb_alloc(thread);
    with_core_scheduler(|scheduler| scheduler.queue_thread(tid));
}
/// Adds and schedules a thread.
Adds and schedules a thread.
Adds and schedules a thread .
pub fn add_and_schedule_thread(thread: Thread) {
    let tid = thread.id;
    tcb_alloc(thread);
    with_core_scheduler(|scheduler| scheduler.queue_thread(tid));
}
pub fn add_and_schedule_thread ( thread : Thread ) { let tid = thread . id ; tcb_alloc ( thread ) ; with_core_scheduler ( | scheduler | scheduler . queue_thread ( tid ) ) ; }
Adds and schedules a thread.
Adds and schedules a thread .
thread
Thread
thread
Thread