Performs an atomic compare-and-exchange operation on the specified values and releases pending active HLE transaction. This intrinsic function applies to C/C++ applications for Windows* OS only.
Syntax
long _InterlockedCompareExchange_HLERelease(long volatile *Destination, long Exchange, long Comparand); |
__int64 _InterlockedCompareExchange64_HLERelease(__int64 volatile *Destination, __int64 Exchange, __int64 Comparand); |
void * _InterlockedCompareExchangePointer_HLERelease(void * volatile *Destination, void * Exchange, void * Comparand); |
Parameters
| pointer to the destination value |
| value which will be written at Destination if the comparison matches. |
| value to compare to the value referenced by Destination. |
Parent topic: Intrinsics for Hardware Lock Elision Operations
Inglés