Skip to main content

Module executor

Module executor 

Source
Available on crate feature executor only.
Expand description

The implementation of Executor syscall.

Structs§

FuturesExecutor
The implementation of Executor syscall.

Functions§

register_futures_executor
Create and register ThreadPool as the rasi global Executor syscall, the inner using num_cpus::get_physical() to specify the pool size.
register_futures_executor_with_pool_size
Create and register ThreadPool as the rasi global Executor syscall. using parameter pool_size to specify the ThreadPool size.