pub fn current_task_thread_semaphore() -> SemaphorePtr
Returns a pointer to the current thread’s semaphore.