摘要:
1.临界区#include <windows.h>CRITICAL_SECTION logSection1;InitializeCriticalSection(&logSection1);EnterCriticalSection(&logSection1); //加锁,防止一起写文件/*...*/LeaveCriticalSection(&logSection2);DeleteCriticalSection(&logSection1);2.多媒体定时器首先在项目的属性里,链接器->输入中加入该库:winmm.lib#include " 阅读全文
posted @ 2012-09-07 20:32
particle
阅读(542)
评论(0)
推荐(0)
浙公网安备 33010602011771号