Module atomic

Module atomic 

Source
Expand description

Atomic operations module providing thread-safe operations

This module provides functions for safe atomic operations in a multi-threaded environment.

Re-exports§

pub use crate::bindings::root::atomicAddRB;
pub use crate::bindings::root::atomicAddAsyncRB;
pub use crate::bindings::root::atomicAndRB;
pub use crate::bindings::root::atomicAndAsyncRB;
pub use crate::bindings::root::atomicCASRB;
pub use crate::bindings::root::atomicDecRB;
pub use crate::bindings::root::atomicDecAsyncRB;
pub use crate::bindings::root::atomicIncRB;
pub use crate::bindings::root::atomicIncAsyncRB;
pub use crate::bindings::root::atomicMaxRB;
pub use crate::bindings::root::atomicMinRB;
pub use crate::bindings::root::atomicOrRB;
pub use crate::bindings::root::atomicOrAsyncRB;
pub use crate::bindings::root::atomicLoadRB;
pub use crate::bindings::root::atomicSwapRB;
pub use crate::bindings::root::atomicXorRB;
pub use crate::bindings::root::atomicXorAsyncRB;
pub use crate::bindings::root::atomicOr58RB;
pub use crate::bindings::root::atomicAnd58RB;
pub use crate::bindings::root::atomicXor58RB;
pub use crate::bindings::root::atomicLoad58RB;
pub use crate::bindings::root::atomicStore58AsyncRB;
pub use crate::bindings::root::atomicSwap58RB;
pub use crate::bindings::root::atomicStoreAsyncRB;

Functions§

atomic_add
Function to atomically add a value to the given address
atomic_add_async
Function to asynchronously atomically add a value to the given address
atomic_and
Function to atomically perform bitwise AND operation
atomic_and_58
Function to atomically perform 64-bit bitwise AND operation
atomic_and_async
Function to asynchronously atomically perform bitwise AND operation
atomic_cas
Function to atomically compare and swap a value at the given address
atomic_dec
Function to atomically decrement a value at the given address
atomic_dec_async
Function to asynchronously atomically decrement a value at the given address
atomic_inc
Function to atomically increment a value at the given address
atomic_inc_async
Function to asynchronously atomically increment a value at the given address
atomic_load
Function to atomically load a 32-bit value from the given address
atomic_load_58
Function to atomically load a 64-bit value from the given address
atomic_max
Function to atomically set a value to the maximum of the current value and the given value
atomic_min
Function to atomically set a value to the minimum of the current value and the given value
atomic_or
Function to atomically perform bitwise OR operation
atomic_or_58
Function to atomically perform 64-bit bitwise OR operation
atomic_or_async
Function to asynchronously atomically perform bitwise OR operation
atomic_store_58_async
Function to asynchronously atomically store a 64-bit value to the given address
atomic_store_async
Function to asynchronously atomically store a 32-bit value to the given address
atomic_swap
Function to atomically swap a value at the given address
atomic_swap_58
Function to atomically swap a 64-bit value at the given address
atomic_xor
Function to atomically perform bitwise XOR operation
atomic_xor_58
Function to atomically perform 64-bit bitwise XOR operation
atomic_xor_async
Function to asynchronously atomically perform bitwise XOR operation