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

Method spawn_broadcast

src/thread_pool.rs:753–758  ·  view source on GitHub ↗
(&'static self, f: F)

Source from the content-addressed store, hash-verified

751// -----------------------------------------------------------------------------
752// Thread pool operations
753
754impl ThreadPool {
755 /// Spawns a job into the thread pool.
756 ///
757 /// See also: [`Worker::spawn`] and [`spawn`].
758 #[inline(always)]
759 pub fn spawn<M, S>(&'static self, work: S) -> S::Output
760 where
761 S: Spawn<M> + Send,

Callers 1

spawn_broadcastFunction · 0.45

Calls 6

with_workerMethod · 0.80
freeze_membershipMethod · 0.80
unfreeze_membershipMethod · 0.80
iter_bitsMethod · 0.80
signalMethod · 0.80
into_job_refMethod · 0.45

Tested by

no test coverage detected