[go: up one dir, main page]

Module pool

Module pool 

Source
Expand description

Pool of threads to run lightweight processes

We spawn futures onto the pool with spawn method of global run queue or with corresponding Worker’s spawn method.

Structs§

Pool
Pool interface between the scheduler and thread pool

Functions§

get
Acquire the static Pool reference
spawn
Spawn a process (which contains future + process stack) onto the executor from the global level.
spawn_blocking
Spawns a blocking task.