Thread-safe increment.
Source position: systemh.inc line 1594
function InterlockedIncrement( |
var Target: LongInt |
):LongInt; |
var Target: Pointer |
):Pointer; |
var Target: Cardinal |
):Cardinal; |
InterLockedIncrement increments Target with 1 and returns the result. This is done in a thread-safe way (i.e. only one processor is accessing the variable at a time).
None.
|
Thread-safe decrement. |
|
|
Exchange 2 integers in a thread-safe way. |
|
|
Thread-safe add and exchange of 2 values. |
|
|
Conditional exchange. |