(&'static self)
| 186 | /// Creates a new thread pool. |
| 187 | pub const fn new() -> ThreadPool { |
| 188 | // Create the pool itself. |
| 189 | ThreadPool { |
| 190 | member_data: Lazy::new(MemberData::new), |
| 191 | shared_queue: SegQueue::new(), |
| 192 | resignations: CachePadded::new(AtomicU32::new(0)), |
| 193 | claimed_bitmask: CachePadded::new(AtomicU32::new(0)), |