CSDN博客

img haiheng

Mutex

发表于2004/10/13 10:33:00  664人阅读

分类: [气圆斩]MultiThread修炼中...

WaitForSingleObject(S_InputMutex, INFINITE);
  g_pInputQueue->pop();
 ReleaseSemaphore(S_InputMutex, 1, NULL);

WaitForSingleObject(S_InputMutex, INFINITE);
  g_pInputQueue->push
 ReleaseSemaphore(S_InputMutex, 1, NULL);
阅读全文
0 0

相关文章推荐

img
取 消
img