x += y
This performs a fetch-and-add operation. The atomic integer x is increased by y and its original value is returned. This operation occurs atomically and is thread safe.
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/doc_atomic.m2:96:0.