[][src]Function sunrise_kernel::scheduler::is_in_schedule_queue

pub fn is_in_schedule_queue(
    queue: &SpinLockIRQGuard<Vec<Arc<ThreadStruct>>>,
    thread: &Arc<ThreadStruct>
) -> bool

Checks if a thread is already either in the schedule queue or currently running.