pub fn thread_id<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
ret_tid: WasmPtr<Tid, M>,
) -> Errno
Expand 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>,
) -> Errno
thread_id()
Returns the index of the current thread (threads indices are sequencial from zero)