Expand description
The Underhill per-CPU thread pool used to run async tasks and IO.
This is built on top of [pal_uring
] and [pal_async
].
Structs§
- Affinitized
Threadpool - A pool of affinitized worker threads.
- Retargetable
Driver - A driver for
AffinitizedThreadpool
that can be retargeted to different CPUs. - Task
Info - Information about a task that caused a thread to spawn.
- Thread
- The state for the thread pool thread for the currently running CPU.
- Threadpool
Builder - A builder for
AffinitizedThreadpool
. - Threadpool
Driver - A driver for
AffinitizedThreadpool
that is targeted at a specific CPU.
Enums§
- SetAffinity
Error - An error that can occur when setting the affinity of a thread.
Functions§
- is_
cpu_ online - Returns whether the specified CPU is online.
- set_
cpu_ online - Sets the specified CPU online, if it is not already online.