Constant rusty_pool::MAX_SIZE
source · [−]pub const MAX_SIZE: usize = (1 << (BITS / 2)) - 1; // 4_294_967_295usize
Expand description
The absolute maximum number of workers. This corresponds to the maximum value that can be stored within half the bits of usize, as two counters (total workers and idle workers) are stored in one AtomicUsize.