Available on crate feature
executor only.Expand description
The implementation of Executor syscall.
Structs§
- Futures
Executor - The implementation of
Executorsyscall.
Functions§
- register_
futures_ executor - Create and register
ThreadPoolas therasiglobalExecutorsyscall, the inner usingnum_cpus::get_physical()to specify the pool size. - register_
futures_ executor_ with_ pool_ size - Create and register
ThreadPoolas therasiglobalExecutorsyscall. using parameterpool_sizeto specify theThreadPoolsize.