Expand description
Thread Management APIs
High-level thread management interface for user-space applications.
Structs§
- Thread
Attributes - Thread attributes
- Thread
Create Params - Thread creation parameters
- Thread
Handle - Thread handle for management
- Thread
Manager - Thread management system
- Thread
Stats - Thread statistics
- TlsKey
- Thread-local storage key
Enums§
- Scheduling
Policy - Thread scheduling policy
- Thread
Priority - Thread priority levels
- Thread
State - Thread state
Functions§
- create_
thread - Create a new thread
- exit_
thread - Exit current thread
- get_
thread_ manager - Get the global thread manager.
- init
- Initialize the thread manager
- join_
thread - Join a thread
- sleep_
ms - Sleep for a number of milliseconds
- try_
get_ thread_ manager - Try to get the global thread manager without panicking.
- yield_
thread - Yield CPU to scheduler
Type Aliases§
- Thread
Entry Point - Thread entry point function type