Mutex

xiaoxiao2021-03-06  88

WaitforsingleObject (s_inputmutex, infinite);

g_pinputqueue-> POP ();

ReleaseSemaphore (S_INPUTMUTEX, 1, NULL);

WaitforsingleObject (s_inputmutex, infinite);

g_pinputqueue-> push

ReleaseSemaphore (S_INPUTMUTEX, 1, NULL);

转载请注明原文地址:https://www.9cbs.com/read-107119.html

New Post(0)