[−][src]Trait drone_cortex_m::thr::Thread
Generic thread.
Associated Types
type Local: ThreadLocal
The thread-local storage.
Required methods
fn first() -> *const Self
Returns a pointer to the first thread in the thread array.
fn fib_chain(&self) -> &Chain
Returns a reference to the fiber chain.
unsafe fn local(&self) -> &Self::Local
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.