InterlockedIncrement
Atomically increments a
TInteger32
variableSource
Integer._32.pas (24)
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.