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

Method thread_pool

src/thread_pool.rs:1232–1234  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1230 // Drop the worker, which will also free the claimed membership.
1231 let thread_pool = worker.thread_pool;
1232 drop(worker);
1233
1234 // Complete the resignation.
1235 loop {
1236 let resignations = thread_pool.resignations.load(Ordering::Relaxed);
1237 // Try to decrement the resignations count.

Callers 4

promote_coldMethod · 0.80
steal_from_siblingsMethod · 0.80
num_membersFunction · 0.80
with_scopeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected