core.atomic
The atomic module provides basic support for lock-free concurrent programming. License:Boost License 1.0 Authors:
Sean Kelly Source:
core/atomic.d
- Performs the binary operation 'op' on val using 'mod' as the modifier.
Parameters:
Returns:val The target variable. mod The modifier to apply.
The result of the operation. - Stores 'writeThis' to the memory referenced by 'here' if the value
referenced by 'here' is equal to 'ifThis'. This operation is both
lock-free and atomic.
Parameters:
Returns:here The address of the destination variable. writeThis The value to store. ifThis The comparison value.
true if the store occurred, false if not.