pub fn get_current_task() -> TaskInfo
Get current task information from thread-local storage
Returns the task context for the currently executing async task. Used by the global allocator hook to attribute memory allocations.