Expand description
Task identification and propagation for async memory tracking
This module provides zero-overhead task identification using Context waker addresses combined with global epoch counters to ensure absolute uniqueness across the application lifetime.
Structs§
- Task
Info - Extended task information stored in thread-local storage
Functions§
- clear_
current_ task - Clear current task context
- current_
epoch - Get current epoch counter value for diagnostics
- generate_
task_ id - Generate unique task ID from Context waker
- get_
current_ task - Get current task information from thread-local storage
- set_
current_ task - Set current task information in thread-local storage
- update_
span_ id - Update span ID for tracing integration
Type Aliases§
- TaskId
- Unique identifier for async tasks