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

Method migrated

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

Source from the content-addressed store, hash-verified

1502 pub fn new_latch(&self) -> Latch {
1503 Latch::new(self.semaphore())
1504 }
1505
1506 /// Runs jobs until the provided latch is set.
1507 ///
1508 /// The thread may go to sleep if it runs out of work to do, but will wake
1509 /// when the latch is set or more work becomes available.

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected