Module core::atomicStable
[-]
[+]
[src]
Core atomic primitives
Reexports
pub use self::Ordering::*; |
Structs
| AtomicBool | An atomic boolean type. |
| AtomicInt | A signed atomic integer type, supporting basic atomic arithmetic operations |
| AtomicPtr | An unsafe atomic pointer. Only supports basic atomic operations |
| AtomicUint | An unsigned atomic integer type, supporting basic atomic arithmetic operations |
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. |