Module drone_core::thread
[−]
[src]
Interrupt-driven threads.
The threading model
A Drone application consists of a static collection of threads. Each thread consists of a dynamic stack of routines, which are executing sequentially within a thread context.
Reexports
pub use drone_core_macros::thread_local; |
Modules
| prelude |
Threads prelude. |
Structs
| RoutineFuture |
A future for result from another thread. |
| RoutineStack |
A lock-free stack of routines. |
| RoutineStreamRing |
A stream of results from another thread. |
| RoutineStreamUnit |
A stream of results from another thread. |
| TaskCell |
A thread-local storage of the task pointer. |
| ThreadToken |
Thread token. |
Traits
| Thread |
A thread interface. |
| ThreadNumber |
Thread token. |
| ThreadTokens |
A set of thread tokens. |
Functions
| current |
Returns a static reference to the current thread. |
| init⚠ |
Initialize the |