Atomically performs and OR operation between mod and the value referenced by val and returns the value val held previously. This operation is both lock-free and atomic.
Reference to the value to modify.
The value to perform and operation.
The value held previously by val.
See Implementation
Atomically performs and OR operation between mod and the value referenced by val and returns the value val held previously. This operation is both lock-free and atomic.