pub fn wait_thread<T>(joiner: WaitHandle<T>) -> SysCallResult