Expand description
RIOT (C) thread implementation
Re-exports§
pub use creation::scope;
pub use creation::spawn;
pub use creation::CountedThread;
pub use creation::CountingThreadScope;
Modules§
- creation πOffloaded tools for creation
Structs§
- Wrapper around a valid (not necessarily running, but in-range) riot_sys::kernel_pid_t that provides access to thread details and signaling.
Enums§
Constants§
- KERNEL_
PID_ πFIRST - KERNEL_
PID_ πISR - KERNEL_
PID_ πLAST - STATUS_
MBOX_ πBLOCKED - STATUS_
MUTEX_ πBLOCKED - STATUS_
NOT_ πFOUND - STATUS_
PENDING π - STATUS_
REPLY_ πBLOCKED - STATUS_
RUNNING π - STATUS_
SEND_ πBLOCKED - STATUS_
SLEEPING π - STATUS_
STOPPED π
Functions§
- PID of the currently active thread
- Put the current thread in the βsleepingβ state, only to be continue when something calls KernelPID::wakeup() on its PID.