C language function:InterlockedCompareExchangeRelease sample codes

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


TITLE : Function Static Variables in Multi-Threaded Environments
::InterlockedCompareExchangeRelease( &initialised, 2, 1);.......
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
InterlockedCompareExchangeRelease().......
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 InterlockedCompareExchangeRelease() except that operations are performed on 64-bit values and addresses........
http://www.tenouk.com/ModuleV2.html
search Google

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