Pudu programming language
Menu
API reference

Std.Concurrent.Pool.pool

1 declaration

fn

pool: Int -> Int -> Result[Std.Concurrent.Pool.Pool, Std.Concurrent.ConcurrentError]

A pool of workers threads over a queue holding at most queue jobs. Every worker starts or none is left running: when one cannot start, the queue is closed and the workers already started are joined.

Back to Std.Concurrent.PoolSearch related declarations