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

Method get_member_data

src/thread_pool.rs:779–781  ·  view source on GitHub ↗

Returns member data, initializing it on the first call.

(&'static self)

Source from the content-addressed store, hash-verified

777 // the claim made above, which `JobRef::execute` (called at most once)
778 // passes to `execute_job_storage`. The job is `Send` (`Job: Send`),
779 // so it may run on any thread.
780 //
781 // * That `execute_job_storage` does not unwind. It catches panics from
782 // the job and passes them to `handle_panic`, which never unwinds.
783 let job_ref = unsafe { self.as_job_ref(execute_job_storage::<T>) };
784 scheduler.schedule(job_ref, worker);

Callers 8

push_shared_jobMethod · 0.80
resizeMethod · 0.80
spawn_onMethod · 0.80
try_enrollMethod · 0.80
try_enroll_manyMethod · 0.80
unfreeze_membershipMethod · 0.80
spawn_onMethod · 0.80
spawn_broadcastMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected