[][src]Function sunrise_kernel::scheduler::find_next_thread_to_run

fn find_next_thread_to_run(queue: &[Arc<ThreadStruct>]) -> Option<usize>

Parses the queue to find the first unlocked process. Returns the index of found process