[−][src]Trait drone_core::thr::Thread
Generic thread.
Associated Types
type Local: ThreadLocal[src]
The thread-local storage.
Required methods
pub fn first() -> *const Self[src]
Returns a pointer to the first thread in the thread array.
pub fn fib_chain(&self) -> &Chain[src]
Returns a reference to the fiber chain.
pub unsafe fn local(&self) -> &Self::Local[src]
Returns a reference to the thread-local storage of the thread.
local function should be used instead of this method.
Safety
This method is unsafe because Thread is Sync while
Thread::Local is not.