C 言語関数:InterlockedBitTestAndSet サンプルコード

サンプルコードを検索した結果です。


TITLE : 使用VS200564位程序需要注意的一些 - Tommy(凌)的 - CSDN博客
//__MACHINEI(unsigned char _interlockedbittestandset(long *a, long b)).......
http://blog.csdn.net/whf727/article/details/5284495


TITLE : Windows-driver-samples/entrypts.c at master 揃 Microsoft/Windows-driver-samples 揃 GitHub
adapterStopInProcess = InterlockedBitTestAndSet((LONG*)&AdapterExtension->PoFxPendingWork, 0); //AdapterStop is at bit 0.......
http://github.com/Microsoft/Windows-driver-samples/blob/master/storage/miniports/storahci/src/entrypts.c
TITLE : Keyed Events
while (m->owned || _interlockedbittestandset(&m->waiters, 0)).......
http://locklessinc.com/articles/keyed_events/
TITLE : Keyed Events
if (!m->owned && !_interlockedbittestandset(&m->waiters, 0)) return 0;.......
http://locklessinc.com/articles/keyed_events/
Googleで検索

https://www.google.co.jp/#q=InterlockedBitTestAndSet