Home
last modified time | relevance | path

Searched refs:RelaxStrategy (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/spin/src/
Drelax.rs4 pub trait RelaxStrategy { interface
23 impl RelaxStrategy for Spin {
44 impl RelaxStrategy for Yield {
58 impl RelaxStrategy for Loop {
Dlazy.rs6 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> {
Dmutex.rs37 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> {
Dbarrier.rs17 use crate::{mutex::Mutex, RelaxStrategy, Spin};
72 impl<R: RelaxStrategy> Barrier<R> {
Drwlock.rs5 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> {
Donce.rs5 RelaxStrategy, Spin,
135 impl<T, R: RelaxStrategy> Once<T, R> {
Dlib.rs97 pub use relax::{RelaxStrategy, Spin};
/external/rust/crates/spin/src/mutex/
Dfair.rs9 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> {
Dspin.rs8 RelaxStrategy, Spin,
161 impl<T: ?Sized, R: RelaxStrategy> SpinMutex<T, R> {
355 unsafe impl<R: RelaxStrategy> lock_api_crate::RawMutex for SpinMutex<(), R> {
Dticket.rs10 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/
DCHANGELOG.md94 - `RelaxStrategy` trait with type parameter on all locks to support switching between relax strateg…