Expand description
The API for spawning dynamic kernel threads.
If you want to run a closure on a kernel thread, check out SpawnRequestBuilder on how to start and configure tasks that run closures.
Structs§
- Closure
None - A builder type state where no closure has been provided yet.
- Dynamic
Thread Spawner - A thread pool that immediately execute any new work sent to it and keep a maximum number of idle threads.
- Spawn
Request - A fully configured spawn request.
- Spawn
Request Builder - A builder for configuring new tasks to spawn.
Traits§
- Closure
Kind - Denotes whether a closure has been provided. A request can not be built at all without a closure.