ariel_os::thread

Function unpark

pub fn unpark(thread_id: ThreadId) -> bool
Available on crate feature threading only.
Expand description

Wakes up a thread and adds it to the runqueue.

Returns false if no parked thread exists for thread_id.