C language function:InterlockedExchangeAddAcquire sample codes

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


TITLE : Double-Checked Locking Optimization - CodeProject
if (InterlockedExchangeAddAcquire(&m_o.m_once, 0)).......
http://www.codeproject.com/Articles/33246/Double-Checked-Locking-Optimization


search Google

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