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

Method with_worker_cold

src/thread_pool.rs:404–410  ·  view source on GitHub ↗
(&'static self, func: F)

Source from the content-addressed store, hash-verified

402 control,
403 });
404 }
405
406 managed_workers.len()
407 }
408 // The size decreased
409 cmp::Ordering::Less => {
410 // Pull the workers we intend to halt out of the thread manager.
411 let terminating_workers = managed_workers.split_off(new_size);
412
413 // Terminate and wake the workers.

Callers 1

with_workerMethod · 0.80

Calls 2

enrollMethod · 0.80
activateMethod · 0.80

Tested by

no test coverage detected