pub unsafe fn thread_getpid_of(thread: *const thread_t) -> kernel_pid_t