[][src]Module bastion_executor::pool

Pool of threads to run lightweight processes

Pool management and tracking belongs here. We spawn futures onto the pool with spawn method of global run queue or with corresponding [Worker]'s spawn method.

Structs

Pool

Pool that global run queue, stealers of the workers, and parked threads.

Functions

get

Acquire the static Pool reference

spawn

Spawn a process (which contains future + process stack) onto the executor from the global level.