Description of the 'interlocked_exchange' function in HyperDbg Scripts
interlocked_exchange
interlocked_exchange( *Variable, Expression );
[*Variable (Target)]
A reference to a variable (most of the time a global variable) to be exchanged. The function sets this variable to Value and returns its prior value.
[Expression (Value)]
The value to be exchanged with the value pointed to by Target.
Sets a variable to the specified value as an atomic operation.
Returns the initial value of the Target parameter.
None
interlocked_compare_exchangearrow-up-right
interlocked_incrementarrow-up-right
interlocked_exchange_addarrow-up-right
interlocked_decrementarrow-up-right
Last updated 2 years ago