C language function:InterlockedCompareExchangeAcquire sample codes

Search sample code in the internet.It is the result.


TITLE : WaitForSingleObjectEx function (Windows)
LONG __cdecl InterlockedCompareExchangeAcquire(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683564(v=vs.85).aspx


TITLE : InterlockedCompareExchangeAcquire routine (Windows Drivers)
LONG InterlockedCompareExchangeAcquire(.......
http://msdn.microsoft.com/ja-jp/library/windows/hardware/ff547857(v=vs.85).aspx
TITLE : Function Static Variables in Multi-Threaded Environments
if( 0 == ::InterlockedCompareExchangeAcquire( &initialised, 1, 0)).......
http://www.codeguru.com/cpp/misc/misc/assemblylanguage/article.php/c12897/Function-Static-Variables-in-MultiThreaded-Environments.htm
TITLE : A tutorial on how-to and step-by-step programming of the Windows OS: the Windows threads synchronization techniques
InterlockedCompareExchangeAcquire().......
http://www.tenouk.com/ModuleV2.html
TITLE : A tutorial on how-to and step-by-step programming of the Windows OS: the Windows threads synchronization techniques
Functions identically to InterlockedCompareExchangeAcquire() except that operations are performed on 64-bit values and addresses........
http://www.tenouk.com/ModuleV2.html
search Google

https://www.google.com/#q=InterlockedCompareExchangeAcquire