exchange(x, y)
The value of y is stored in x and the original value of x is returned. This operation occurs atomically and is thread safe.
|
|
|
The object exchange is a method function.
The source of this document is in Macaulay2Doc/doc_atomic.m2:233:0.