pub fn register_futures_executor(pool_size: usize) -> Result<()>
Available on crate feature executor only.
Expand description

Create and register ThreadPool as the rasi global Executor syscall. using parameter pool_size to specify the ThreadPool size.

You may not call this function twice, otherwise will cause a panic. read more