MCPcopy Create free account
hub / github.com/NthTensor/Forte / num_members

Method num_members

src/thread_pool.rs:188–190  ·  view source on GitHub ↗
(&'static self)

Source from the content-addressed store, hash-verified

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)),

Callers 1

num_membersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected