geometry_pool

Function geometry_pool 

Source
pub fn geometry_pool() -> Result<&'static ThreadPool, ThreadPoolBuildError>
Expand description

The process-wide large-stack pool, built on first use.

An Err when the OS refuses to spawn the threads; never a panic, because the FFI calls this on an extern "C" path where an unwind aborts the host. A failed build is not cached, so a later call retries. Two first calls racing may each build a pool; the loser is dropped.