Function wasmer_wasix::syscalls::wasix::thread_join::thread_join

source ·
pub fn thread_join<M: MemorySize + 'static>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    join_tid: Tid,
) -> Result<Errno, WasiError>
Expand description

§thread_join()

Joins this thread with another thread, blocking this one until the other finishes

§Parameters

  • tid - Handle of the thread to wait on