Searched refs:SpinLatch (Results 1 – 3 of 3) sorted by relevance
141 pub(super) struct SpinLatch<'r> { struct148 impl<'r> SpinLatch<'r> { impl154 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> { implementation187 impl<'r> Latch for SpinLatch<'r> { implementation
2 use crate::latch::{AsCoreLatch, CoreLatch, CountLatch, Latch, LockLatch, SpinLatch};492 let latch = SpinLatch::cross(current_thread); in in_worker_cross()
2 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()