摘要: 静态TLS的使用方法:#include #include #include using namespace std;CRITICAL_SECTION g_cs;// 定义静态TLS全局变量__declspec(thread) int value = 0 ;DWORD WINAPI NewThread... 阅读全文
posted @ 2014-06-05 09:26 lichongbin 阅读(1205) 评论(0) 推荐(0) 编辑