Atomically replaces the current value with the result of arithmetic addition of the atomic variable and val.
That is, it performs atomic post-increment. The operation is a read-modify-write operation.
Memory is affected according to the value of order.
Atomically replaces the current value with the result of arithmetic addition of the atomic variable and val. That is, it performs atomic post-increment. The operation is a read-modify-write operation. Memory is affected according to the value of order.