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
415 // Determine our seat index.
416 let own_member_index =
417 Worker::map_current(|worker| worker.member_index);
418
419 // Wait for the other workers to fully halt.
420 for worker in terminating_workers {
421 // It's possible we may be trying to terminate ourselves, in
422 // which case we can skip the thread-join.

Callers

nothing calls this directly

Implementers 1

thread_pool.rssrc/thread_pool.rs

Calls

no outgoing calls

Tested by

no test coverage detected