[][src]Trait drone_core::thr::ThreadLocal

pub trait ThreadLocal: Sized + 'static {
    pub fn preempted(&self) -> &PreemptedCell;
}

Generic thread-local storage.

Required methods

pub fn preempted(&self) -> &PreemptedCell[src]

Returns a reference to the previous thread index cell.

This method is safe because the type doesn't have public methods.

Loading content...

Implementors

Loading content...