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

Method deref

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

Source from the content-addressed store, hash-verified

1150 .wants_to_resign
1151 .fetch_and(!(1 << worker.member_index), Ordering::Relaxed);
1152
1153 // Drop the worker, which will also free the claimed membership.
1154 let thread_pool = worker.thread_pool;
1155 drop(worker);
1156
1157 // Complete the resignation.

Callers

nothing calls this directly

Calls 1

resize_to_availableMethod · 0.80

Tested by

no test coverage detected