Struct loom::thread::Thread [−][src]
pub struct Thread { /* fields omitted */ }Expand description
Mock implementation of std::thread::Thread.
Implementations
Mock implementation of [std::thread::unpark].
Atomically makes the handle’s token available if it is not already.
Every thread is equipped with some basic low-level blocking support, via
the park function and the unpark() method. These can be
used as a more CPU-efficient implementation of a spinlock.
See the park documentation for more details.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Thread
impl UnwindSafe for Thread
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more