2017年12月18日

CPP线程_互斥锁

摘要: 1 #define _CRT_SECURE_NO_WARNINGS /* VS2013,2015需要这一行 */ 2 #include 3 4 #include "osapi/osapi.h" 5 6 OS_Mutex g_mutex;//定义互斥锁 7 char g_key[16]; // Generator更新它,Checker获取它 8 9 class KeyGe... 阅读全文

posted @ 2017-12-18 12:47 Doctor_uee 阅读(358) 评论(0) 推荐(0)

导航