Searched refs:RelaxStrategy (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/spin/src/ |
D | relax.rs | 4 pub trait RelaxStrategy { interface 23 impl RelaxStrategy for Spin { 44 impl RelaxStrategy for Yield { 58 impl RelaxStrategy for Loop {
|
D | lazy.rs | 6 use crate::{once::Once, RelaxStrategy, Spin}; 82 impl<T, F: FnOnce() -> T, R: RelaxStrategy> Lazy<T, F, R> { 105 impl<T, F: FnOnce() -> T, R: RelaxStrategy> Deref for Lazy<T, F, R> {
|
D | mutex.rs | 37 use crate::{RelaxStrategy, Spin}; 168 impl<T: ?Sized, R: RelaxStrategy> Mutex<T, R> { 318 unsafe impl<R: RelaxStrategy> lock_api_crate::RawMutex for Mutex<(), R> {
|
D | barrier.rs | 17 use crate::{mutex::Mutex, RelaxStrategy, Spin}; 72 impl<R: RelaxStrategy> Barrier<R> {
|
D | rwlock.rs | 5 RelaxStrategy, Spin, 186 impl<T: ?Sized, R: RelaxStrategy> RwLock<T, R> { 502 impl<'rwlock, T: ?Sized, R: RelaxStrategy> RwLockUpgradableGuard<'rwlock, T, R> { 803 unsafe impl<R: RelaxStrategy> lock_api_crate::RawRwLock for RwLock<(), R> { 856 unsafe impl<R: RelaxStrategy> lock_api_crate::RawRwLockUpgrade for RwLock<(), R> { 905 unsafe impl<R: RelaxStrategy> lock_api_crate::RawRwLockDowngrade for RwLock<(), R> {
|
D | once.rs | 5 RelaxStrategy, Spin, 135 impl<T, R: RelaxStrategy> Once<T, R> {
|
D | lib.rs | 97 pub use relax::{RelaxStrategy, Spin};
|
/external/rust/crates/spin/src/mutex/ |
D | fair.rs | 9 RelaxStrategy, Spin, 181 impl<T: ?Sized, R: RelaxStrategy> FairMutex<T, R> { 515 impl<'a, T: ?Sized, R: RelaxStrategy> Starvation<'a, T, R> { 553 unsafe impl<R: RelaxStrategy> lock_api_crate::RawMutex for FairMutex<(), R> {
|
D | spin.rs | 8 RelaxStrategy, Spin, 161 impl<T: ?Sized, R: RelaxStrategy> SpinMutex<T, R> { 355 unsafe impl<R: RelaxStrategy> lock_api_crate::RawMutex for SpinMutex<(), R> {
|
D | ticket.rs | 10 RelaxStrategy, Spin, 168 impl<T: ?Sized, R: RelaxStrategy> TicketMutex<T, R> { 355 unsafe impl<R: RelaxStrategy> lock_api_crate::RawMutex for TicketMutex<(), R> {
|
/external/rust/crates/spin/ |
D | CHANGELOG.md | 94 - `RelaxStrategy` trait with type parameter on all locks to support switching between relax strateg…
|