Trait concurrency_traits::ThreadParker [−][src]
Functions to allow parking functionality for threads.
Associated Types
type ThreadId
[src]
The type of a thread portable id. Analog for std::thread::Thread
.
Required methods
fn park(self)
[src]
Parks the current thread. Analog for std::thread::park
.
fn unpark(self, thread: Self::ThreadId)
[src]
Unparks a thread. Analog for std::thread::Thread::unpark
.
Implementors
impl ThreadParker for &StdThreadFunctions
[src]
impl ThreadParker for &StdThreadFunctions
[src]