Crate affinitypool

Crate affinitypool 

Source

Modules§

affinity
This module manages CPU affinities.

Structs§

Builder
Threadpool

Enums§

Error

Constants§

MAX_THREADS
Maximum number of worker threads allowed in a thread pool.

Functions§

spawn
Queue a new command for execution on the global threadpool.
spawn_local
Queue a new command for execution on the global threadpool. The future of this function will block the current thread if it is not fully awaited and driven to completion.