pub fn get_task_id_by_tid(tid: Tid) -> Option<TaskId>
Resolve a POSIX tid to the corresponding internal task id.