wasmer_wasix::syscalls::wasix::thread_parallelism

Function thread_parallelism

Source
pub fn thread_parallelism<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    ret_parallelism: WasmPtr<M::Offset, M>,
) -> Errno
Expand description

ยงthread_parallelism()

Returns the available parallelism which is normally the number of available cores that can run concurrently