[−][src]Function sunrise_kernel::scheduler::try_get_current_thread
pub fn try_get_current_thread() -> Option<Arc<ThreadStruct>>
Gets the current ThreadStruct, incrementing its refcount. Will return None if we're in an early boot state, and it has not yet been initialized.