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

Interface Scheduler

src/thread_pool.rs:416–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414 let member_data = self.get_member_data();
415 for worker in &terminating_workers {
416 // Tell the worker to halt.
417 worker.control.halt.store(true, Ordering::Relaxed);
418 // Signal the worker.
419 member_data.semaphores[worker.member_index].signal();
420 }
421
422 // Drop the lock on the state so as not to block the workers or

Callers

nothing calls this directly

Implementers 1

thread_pool.rssrc/thread_pool.rs

Calls

no outgoing calls

Tested by

no test coverage detected