[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'System' (#rtl) |
Thread-safe decrement
Source position: line 0
function InterLockedDecrement( |
var Target: LongInt |
):LongInt; |
var Target: Pointer |
):Pointer; |
InterLockedDecrement decrements 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 increment |
|
|
Exchange 2 integers in a thread-safe way |
|
|
Thread-safe add and exchange of 2 values |
|
|
Conditional exchange |
No notes exist for this page yet.