Macaulay2 » Documentation
Packages » Macaulay2Doc :: AtomicInt
next | previous | forward | backward | up | index | toc

AtomicInt -- the class of atomic integers

Description

Atomic integers are a special type of integer for which various atomic operations, which cannot be interrupted, are available. This makes them useful for parallel programming.

Caveat

On most systems, atomic integers use 32 bits, i.e., they must lie between $-2^{31}$ and $2^{31} - 1$.

See also

Methods that use an atomic integer :

For the programmer

The object AtomicInt is a type, with ancestor class Thing.