Skip to main content

current_thread_extension

Function current_thread_extension 

Source
pub fn current_thread_extension() -> Result<Option<ThreadExtensionLease>, TaskError>
Expand description

Returns the opaque extension of the calling scheduler thread.

Runtime entry trampolines use the callback-table address as a type identity before recovering an OS-owned closure or process object from data.