Module bern_kernel::exec::thread
source · [−]Expand description
Task creation and control.
Example
Create a task using the builder pattern:
The task builder (ThreadBuilder) is used to configure a task. On
ThreadBuilder::spawn() the information is passed to the scheduler and the
task is put into ready state.
Tasks can be spawened from main() or within other tasks.
Structs
Builder to create a new task