'WaitForSingleObject'에 해당되는 글 1건

320x100

Simple Mutex Usage : shared resource (2008/05/08)

Posted on 2009. 5. 12. 13:28
Filed Under Programming/Network

HANDLE hMutex = CreateMutex(NULL, FALSE, NULL);
ASSERT(hMutex);
WaitForSingleObject(hMutex, INFINITE);

// 리소스 사용

ReleaseMutex(hMutex);

2008/05/08 16:24 2008/05/08 16:24

반응형

About

by 쑤기c

반응형