pub fn thread_id<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
ret_tid: WasmPtr<Tid, M>,
) -> ErrnoExpand description
ยงthread_id()
Returns the index of the current thread (threads indices are sequencial from zero)
pub fn thread_id<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
ret_tid: WasmPtr<Tid, M>,
) -> Errnothread_id()Returns the index of the current thread (threads indices are sequencial from zero)