InterlockedDecrement

Atomically decrements a TInteger32 variable

Source

Integer._32.pas (25)

Description

The operation is performed atomically in the sense that access to the memory of the variable is synchronized between multiple threads. The memory address of the variable must be aligned 32-bit boundary, otherwise the operation is not garantueed to be atomic.