12 2022 档案
[VC]win32线程安全原子锁
摘要:// 微软官方例程 稍微修改了下 测试刚刚好 #define WDS printf #define THREAD_COUNT 20 static volatile UINT vol = 0; void SimpleThreadA(void* id) { UINT& max = *(PUINT)id; 阅读全文
posted @ 2022-12-31 04:45 Ksa-NL 阅读(104) 评论(0) 推荐(0)