Struct miri::SynchronizationObjects
source · pub struct SynchronizationObjects {
mutexes: IndexVec<MutexId, Mutex>,
rwlocks: IndexVec<RwLockId, RwLock>,
condvars: IndexVec<CondvarId, Condvar>,
futexes: FxHashMap<u64, Futex>,
pub(super) init_onces: IndexVec<InitOnceId, InitOnce>,
}
Expand description
The state of all synchronization objects.
Fields§
§mutexes: IndexVec<MutexId, Mutex>
§rwlocks: IndexVec<RwLockId, RwLock>
§condvars: IndexVec<CondvarId, Condvar>
§futexes: FxHashMap<u64, Futex>
§init_onces: IndexVec<InitOnceId, InitOnce>
Trait Implementations§
source§impl Debug for SynchronizationObjects
impl Debug for SynchronizationObjects
source§impl Default for SynchronizationObjects
impl Default for SynchronizationObjects
source§fn default() -> SynchronizationObjects
fn default() -> SynchronizationObjects
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SynchronizationObjects
impl RefUnwindSafe for SynchronizationObjects
impl !Send for SynchronizationObjects
impl !Sync for SynchronizationObjects
impl Unpin for SynchronizationObjects
impl UnwindSafe for SynchronizationObjects
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 128 bytes