Expand description
Task abstraction layer
Provides safe abstractions for task/thread operations including:
- Task reference counting
- Task context access
- Task lifecycle management
Inspired by Theseus Task and Asterinas thread abstractions.
Structs§
- TaskId
- Unique task identifier
- Task
Inner - Internal task structure
- Task
Options - Task options for spawning new tasks
- TaskRef
- Reference-counted task handle
Enums§
- Task
State - Task state enumeration
Functions§
- current_
task - Gets the current task