Expand description
Safe, idiomatic wrappers for OSAL Task APIs.
This module provides utilities for task management, such as delaying the current task, retrieving task IDs, and managing task priorities.
Structs§
- Task
- A handle to an OSAL task.
- Task
Flags - Options for task creation.
- TaskId
- A type-safe, zero-cost wrapper for an OSAL Task ID.
- Task
Prop - Properties of an OSAL task, returned by
Task::get_info.
Functions§
- delay
- Delays the execution of the current task for at least the specified duration.
- exit
- Exits the calling task.
- find_
id_ ⚠by_ system_ data - Reverse-looks up an OSAL task ID from an underlying operating system ID.
- install_
delete_ handler - Installs a handler function to be called when the current task is deleted.
Type Aliases§
- Task
Delete Handler - Type alias for a handler function called on task deletion.