Function wasmer_wasix::syscalls::wasix::thread_parallelism::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