Module core::atomicStable
[-]
[+]
[src]
Core atomic primitives
Reexports
pub use self::Ordering::*; |
Structs
| AtomicBool | A boolean type which can be safely shared between threads. |
| AtomicInt | A signed integer type which can be safely shared between threads. |
| AtomicPtr | A raw pointer type which can be safely shared between threads. |
| AtomicUint | An unsigned integer type which can be safely shared between threads. |
Enums
| Ordering | Atomic memory orderings |
Constants
pub const INIT_ATOMIC_BOOL: AtomicBool = AtomicBool { v: UnsafeCell { value: 0 }, nocopy: marker::NoCopy } |
An |
pub const INIT_ATOMIC_INT: AtomicInt = AtomicInt { v: UnsafeCell { value: 0 }, nocopy: marker::NoCopy } |
An |
pub const INIT_ATOMIC_UINT: AtomicUint = AtomicUint { v: UnsafeCell { value: 0, }, nocopy: marker::NoCopy } |
An |
Functions
| fence | An atomic fence. |