使用WaitForSingleObject阻塞唤醒线程
摘要:#include <cstdio> #include <string> #include "windows.h" #include <thread> HANDLE g_hEvent; void TestThread() { ResetEvent(g_hEvent); printf("ResetEve
阅读全文
posted @ 2020-10-09 15:25