现在的位置: 首页 > 综合 > 正文

Mutex

2013年10月14日 ⁄ 综合 ⁄ 共 208字 ⁄ 字号 评论关闭
WaitForSingleObject(S_InputMutex, INFINITE);
  g_pInputQueue->pop();
 ReleaseSemaphore(S_InputMutex, 1, NULL);

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

抱歉!评论已关闭.