MCPcopy Create free account

hub / github.com/Amanieu/parking_lot / functions

Functions661 in github.com/Amanieu/parking_lot

↓ 53 callersMethodget
()
core/src/thread_parker/windows/mod.rs:29
↓ 50 callersMethodlock
(&self)
src/raw_mutex.rs:59
↓ 27 callersMethodread
(&self)
lock_api/src/rwlock.rs:595
↓ 27 callersMethodwrite
(&self)
lock_api/src/rwlock.rs:643
↓ 21 callersMethodas_ref
(&self)
lock_api/src/guard.rs:33
↓ 17 callersMethodwait
(&self)
src/once.rs:229
↓ 14 callersMethodlock
(&self)
lock_api/tests/stateful_guards.rs:135
↓ 12 callersMethodmap
(s: Self, f: F)
lock_api/src/mutex.rs:601
↓ 12 callersMethodstate
(&self)
core/src/parking_lot.rs:185
↓ 12 callersMethodunlock
(&self)
core/src/word_lock.rs:100
↓ 11 callersMethodnotify_one
(&self)
src/raw_condvar.rs:36
↓ 11 callersMethodraw
(&self)
lock_api/src/mutex.rs:331
↓ 11 callersMethodupgradable_read
(&self)
lock_api/src/rwlock.rs:1167
↓ 10 callersMethoddeadlock_acquire_secondary
(&self)
src/raw_rwlock.rs:1067
↓ 10 callersFunctionpark
( key: usize, validate: impl FnOnce() -> bool, before_sleep: impl FnOnce(), timed_out: impl Fn
core/src/parking_lot.rs:584
↓ 9 callersMethoddisarm
(self)
core/src/parking_lot.rs:24
↓ 8 callersFunctionacquire_resource
(key: usize)
src/deadlock.rs:51
↓ 8 callersMethodas_mut
(&mut self)
lock_api/src/guard.rs:62
↓ 8 callersMethodcall_once
(&self, f: F)
src/once.rs:304
↓ 8 callersMethoddeadlock_acquire_all
(&self)
src/raw_rwlock.rs:1077
↓ 8 callersFunctionrelease_resource
(key: usize)
src/deadlock.rs:59
↓ 8 callersMethodunlock
(&self)
lock_api/src/remutex.rs:136
↓ 7 callersFunctionassert_deadlock
(thread_count: usize)
src/deadlock.rs:85
↓ 7 callersFunctionto_deadline
(timeout: Duration)
src/util.rs:24
↓ 6 callersMethodacquire
(&self, mode: Mode)
lock_api/tests/stateful_guards.rs:74
↓ 6 callersMethoddeadlock_release_all
(&self)
src/raw_rwlock.rs:1083
↓ 6 callersMethodfail_next
(&self, point: PanicAt)
lock_api/tests/stateful_guards.rs:66
↓ 6 callersFunctionget_hashtable
()
core/src/parking_lot.rs:215
↓ 6 callersMethodlock
(&self)
core/src/word_lock.rs:82
↓ 6 callersMethodspin
(&mut self)
core/src/spinwait.rs:41
↓ 6 callersMethodunpark
(self)
core/src/thread_parker/windows/waitaddress.rs:111
↓ 6 callersMethodunpark_lock
(&'static self, key: &AtomicUsize)
core/src/thread_parker/windows/waitaddress.rs:72
↓ 6 callersMethodwake_parked_threads
( &self, new_state: usize, callback: impl FnOnce(usize, UnparkResult) -> UnparkToken,
src/raw_rwlock.rs:840
↓ 5 callersMethoddeadlock_release_secondary
(&self)
src/raw_rwlock.rs:1072
↓ 5 callersFunctionexpect_panic
(f: impl FnOnce())
lock_api/tests/stateful_guards.rs:571
↓ 5 callersMethodfinish
(&self, num_single_unparks: usize)
core/src/parking_lot.rs:1757
↓ 5 callersMethodget_mut
(&mut self)
lock_api/src/mutex.rs:283
↓ 5 callersFunctionlock_bucket
(key: usize)
core/src/parking_lot.rs:351
↓ 5 callersMethodraw
(&self)
lock_api/src/condvar.rs:183
↓ 5 callersMethodrelease
(&self, mut token: Token, mode: Mode)
lock_api/tests/stateful_guards.rs:95
↓ 5 callersMethodreset
(&mut self)
core/src/spinwait.rs:28
↓ 5 callersMethodtransition
(&self, mut token: Token, from: Mode, to: Mode)
lock_api/tests/stateful_guards.rs:106
↓ 5 callersFunctiontry_lock
()
src/mutex.rs:144
↓ 5 callersMethodunlock_exclusive_fair
(&self, guard: Exclusive)
lock_api/tests/stateful_guards.rs:202
↓ 5 callersMethodunlock_shared_fair
(&self, guard: Shared)
lock_api/tests/stateful_guards.rs:199
↓ 5 callersFunctionunpark_one
( key: usize, callback: impl FnOnce(UnparkResult) -> UnparkToken, )
core/src/parking_lot.rs:739
↓ 5 callersFunctionwait
( condition: &Condvar, lock: &mut MutexGuard<'_, T>, predicate: impl Fn(&mut MutexGuar
src/condvar.rs:495
↓ 4 callersFunctionabort_on_panic
(f: impl FnOnce() -> T)
lock_api/src/guard.rs:8
↓ 4 callersMethoddeadlock_release_primary
(&self)
src/raw_rwlock.rs:1062
↓ 4 callersMethodhas_parked_threads
(&self)
src/raw_rwlock.rs:1089
↓ 4 callersFunctionhash
(key: usize, bits: u32)
core/src/parking_lot.rs:339
↓ 4 callersMethodinto_inner
(self)
lock_api/src/mutex.rs:188
↓ 4 callersMethodlock_internal
(&self, try_lock: F)
lock_api/src/remutex.rs:84
↓ 4 callersMethodmake_arc_guard_unchecked
(self: &Arc<Self>, guard: R::Guard)
lock_api/src/mutex.rs:363
↓ 4 callersMethodmake_arc_guard_unchecked
(self: &Arc<Self>)
lock_api/src/remutex.rs:474
↓ 4 callersMethodmake_arc_read_guard_unchecked
( self: &Arc<Self>, guard: R::SharedGuard, )
lock_api/src/rwlock.rs:788
↓ 4 callersMethodmake_arc_write_guard_unchecked
( self: &Arc<Self>, guard: R::ExclusiveGuard, )
lock_api/src/rwlock.rs:815
↓ 4 callersMethodmake_guard_unchecked
(&self, guard: R::Guard)
lock_api/src/mutex.rs:227
↓ 4 callersMethodmake_guard_unchecked
(&self)
lock_api/src/remutex.rs:326
↓ 4 callersMethodmake_read_guard_unchecked
( &self, guard: R::SharedGuard, )
lock_api/src/rwlock.rs:537
↓ 4 callersMethodmake_upgradable_arc_guard_unchecked
( self: &Arc<Self>, guard: R::UpgradableGuard, )
lock_api/src/rwlock.rs:1214
↓ 4 callersMethodmake_upgradable_guard_unchecked
( &self, guard: R::UpgradableGuard, )
lock_api/src/rwlock.rs:1140
↓ 4 callersMethodmake_write_guard_unchecked
( &self, guard: R::ExclusiveGuard, )
lock_api/src/rwlock.rs:564
↓ 4 callersMethodnotify_all
(&self)
src/raw_condvar.rs:47
↓ 4 callersMethodsemaphore_addr
(&self)
core/src/parking_lot.rs:1842
↓ 4 callersMethodtry_lock_shared_fast
(&self)
src/raw_rwlock.rs:434
↓ 4 callersMethodtry_lock_upgradable_fast
(&self)
src/raw_rwlock.rs:469
↓ 4 callersMethodunlock_exclusive
(&self, _guard: Self::ExclusiveGuard)
lock_api/tests/guard_traits.rs:101
↓ 4 callersMethodunlock_fair
(s: Self)
lock_api/src/mutex.rs:722
↓ 4 callersMethodunlock_shared
(&self, _guard: Self::SharedGuard)
lock_api/tests/guard_traits.rs:89
↓ 4 callersMethodunlock_upgradable_fair
(&self, guard: Upgradable)
lock_api/tests/stateful_guards.rs:256
↓ 4 callersMethodwait
(&self, mutex: &Raw, guard: &mut Exclusive)
lock_api/tests/stateful_guards.rs:463
↓ 4 callersMethodwait_for
( &self, mutex: &RawMutex, _guard: &mut crate::GuardMarker, timeout: &Duration
src/raw_condvar.rs:65
↓ 4 callersFunctionwith_thread_data
(f: impl FnOnce(&ThreadData) -> T)
core/src/parking_lot.rs:192
↓ 3 callersMethodcall_once_force
(&self, f: F)
src/once.rs:365
↓ 3 callersMethodis_completed
(self)
src/once.rs:79
↓ 3 callersMethodlock_common
( &self, timeout: Option<Instant>, token: ParkToken, mut try_lock: impl FnMut(
src/raw_rwlock.rs:980
↓ 3 callersMethodlock_exclusive_slow
(&self, timeout: Option<Instant>)
src/raw_rwlock.rs:505
↓ 3 callersMethodlock_shared_slow
(&self, timeout: Option<Instant>)
src/raw_rwlock.rs:590
↓ 3 callersMethodlock_slow
(&self, timeout: Option<Instant>)
src/raw_mutex.rs:186
↓ 3 callersMethodlock_upgradable_slow
(&self, timeout: Option<Instant>)
src/raw_rwlock.rs:647
↓ 3 callersMethodpark
(&'static self, key: &AtomicUsize)
core/src/thread_parker/windows/waitaddress.rs:45
↓ 3 callersMethodprepare_park
(&'static self, key: &AtomicUsize)
core/src/thread_parker/windows/waitaddress.rs:35
↓ 3 callersFunctionprint_usage
(names: &[&str], error_msg: Option<String>)
benchmark/src/args.rs:29
↓ 3 callersMethodptr
(&self)
core/src/thread_parker/wasm_atomic.rs:79
↓ 3 callersMethodqueue_head
(self)
core/src/word_lock.rs:306
↓ 3 callersMethodtry_lock
(&self)
src/raw_mutex.rs:74
↓ 3 callersMethodunlock_fair
(&self)
lock_api/src/remutex.rs:170
↓ 3 callersMethodunlock_upgradable
(&self, _guard: Self::UpgradableGuard)
lock_api/tests/guard_traits.rs:125
↓ 3 callersFunctionunpark_all
(key: usize, unpark_token: UnparkToken)
core/src/parking_lot.rs:826
↓ 3 callersMethodupgradable_read_arc
(self: &Arc<Self>)
lock_api/src/rwlock.rs:1236
↓ 3 callersFunctionupgrade
()
src/recursive_rwlock.rs:93
↓ 3 callersMethodupgrade_slow
( &self, guard: crate::GuardMarker, timeout: Option<Instant>, )
src/raw_rwlock.rs:767
↓ 3 callersMethodwait_until_internal
This is a non-generic function to reduce the monomorphization cost of using `wait_until`.
src/raw_condvar.rs:171
↓ 3 callersMethodwait_while
( &self, mutex_guard: &mut MutexGuard<'_, C::RawMutex, T>, mut condition: F, )
lock_api/src/condvar.rs:264
↓ 3 callersMethodwait_while_until
( &self, mutex_guard: &mut MutexGuard<'_, C::RawMutex, T>, mut condition: F, t
lock_api/src/condvar.rs:388
↓ 3 callersMethodwith_upgraded
(&mut self, f: F)
lock_api/src/rwlock.rs:2448
↓ 2 callersFunctionabort_on_panic
(f: impl FnOnce() -> T)
src/util.rs:8
↓ 2 callersMethodcall_once_slow
(&self, ignore_poison: bool, f: &mut dyn FnMut(OnceState))
src/once.rs:463
↓ 2 callersFunctioncpu_relax
(iterations: u32)
core/src/spinwait.rs:7
next →1–100 of 661, ranked by callers