C language function:InterlockedCompareExchangePointerRelease sample codes

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


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


TITLE : Double-Checked Locking Optimization - CodeProject
void *p = InterlockedCompareExchangePointerRelease(.......
http://www.codeproject.com/Articles/33246/Double-Checked-Locking-Optimization
search Google

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