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

Method broadcast

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

Source from the content-addressed store, hash-verified

736// -----------------------------------------------------------------------------
737// Broadcasts
738
739/// Context object for [`broadcast`](Worker::broadcast) operations.
740pub struct Broadcast<'w> {
741 /// The worker this part of the broadcast is running on. This will be in
742 /// `[0, participants)`.
743 pub worker: &'w Worker,
744 /// The index of this worker within the broadcast. The return value will be
745 /// stored at this index within the results vector.
746 pub index: usize,
747 /// The number of threads participating in the broadcast.

Callers 1

broadcastFunction · 0.80

Calls 13

resume_unwindingFunction · 0.85
with_workerMethod · 0.80
freeze_membershipMethod · 0.80
iter_bitsMethod · 0.80
new_latchMethod · 0.80
as_job_refMethod · 0.80
signalMethod · 0.80
iterMethod · 0.80
wait_forMethod · 0.80
completion_latchMethod · 0.80
unfreeze_membershipMethod · 0.80
unwrap_errorMethod · 0.80

Tested by

no test coverage detected