pub unsafe fn thread_get(pid: kernel_pid_t) -> *mut thread_t