Trait drone_core::thr::SoftThrToken [−][src]
Token for a software-managed thread.
Associated Types
type SoftThread: SoftThread
[src]
The software-managed thread type.
Provided methods
fn to_soft_thr(self) -> &'static Self::SoftThread
[src]
Returns a reference to the software-managed thread object.
fn set_pending(self)
[src]
Sets the thread pending.
fn clear_pending(self)
[src]
Clears the thread pending state.
fn is_pending(self) -> bool
[src]
Returns true
if the thread is pending.
fn priority(self) -> u8
[src]
Reads the priority of the thread.