Home
last modified time | relevance | path

Searched refs:SpinLatch (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/rayon-core/src/
Dlatch.rs141 pub(super) struct SpinLatch<'r> { struct
148 impl<'r> SpinLatch<'r> { argument
154 pub(super) fn new(thread: &'r WorkerThread) -> SpinLatch<'r> { in new()
155 SpinLatch { in new()
167 pub(super) fn cross(thread: &'r WorkerThread) -> SpinLatch<'r> { in cross()
168 SpinLatch { in cross()
170 ..SpinLatch::new(thread) in cross()
180 impl<'r> AsCoreLatch for SpinLatch<'r> { implementation
187 impl<'r> Latch for SpinLatch<'r> { implementation
Dregistry.rs2 use crate::latch::{AsCoreLatch, CoreLatch, CountLatch, Latch, LockLatch, SpinLatch};
492 let latch = SpinLatch::cross(current_thread); in in_worker_cross()
/external/rust/crates/rayon-core/src/join/
Dmod.rs2 use crate::latch::SpinLatch;
136 let job_b = StackJob::new(call_b(oper_b), SpinLatch::new(worker_thread)); in join_context()
182 job_b_latch: &SpinLatch<'_>, in join_recover_from_panic()