pub unsafe fn get_current_thread_control_block<T>() -> *mut Tcb<T>
Expand description

Get a pointer to the current thread control block, using the thread pointer.

Safety

The TCB must actually contain runtime data of type T, and be initialized.