pub fn current_thread_handle() -> Result<ThreadHandle, TaskError>Expand description
Returns a strong handle for the calling scheduler thread.
ยงErrors
Returns TaskError::NotInitialized before runtime CPU publication,
TaskError::CpuOwnerBorrowed for a reentrant owner query, or
TaskError::NoRunnableThread before a current thread is installed.