Expand description
Operations bound to the calling scheduler thread.
Structs§
- Current
Park Resume - Terminal scheduler information returned after a prepared park resumes.
- Exit
Permit - A validated, thread-bound opportunity to publish exit completion.
- Prepared
Current Park - Move-only ownership of one prepared current-thread park transaction.
Enums§
- Current
Park Disposition - Scheduler disposition of one completed current-thread park transaction.
- Current
Park Start - Result of beginning an externally queued current-thread park transaction.
Functions§
- begin_
current_ park - Begins a scheduler-owned park transaction for an OS-owned waiter queue.
- commit_
current_ exit - Commits a prepared scheduler exit and permanently leaves this context.
- current_
thread_ extension - Returns the opaque extension of the calling scheduler thread.
- current_
thread_ handle - Returns a strong handle for the calling scheduler thread.
- current_
thread_ id - Returns the generation-bearing identity of the calling scheduler thread.
- current_
thread_ token - Captures the scheduler thread executing this task context.
- exit_
current - Publishes a return code and exits through the one scheduler exit transaction.
- exit_
current_ thread - Exits the calling thread and switches to its replacement.
- prepare_
current_ exit - Validates scheduler-side exit prerequisites without changing the current thread’s observable lifecycle.
- set_
current_ thread_ affinity - Updates the calling thread’s affinity and completes a required migration.
- sleep
- Sleeps the calling scheduler thread for at least
duration. - sleep_
until - Sleeps until an absolute deadline measured against the monotonic clock.
- validate_
blocking_ context - Validates that the caller may publish a waiter or block its current thread.
- yield_
current_ cpu - Yields the calling thread and executes the resulting context switch.