pub fn twz_rt_join_thread(id: ThreadId, timeout: Option<Duration>) -> Result<()>
Wait for a thread to exit, optionally timing out.