2013年9月15日
摘要: #include #include #include using namespace std;std::once_flag g_flag;void once_func(){ cout << __FUNCTION__ << "\t" << pthread_self() << " this is once call function!" << endl;};void* one_func(void*){ cout << __FUNCTION__ << "\t" 阅读全文
posted @ 2013-09-15 19:39 adidos 阅读(427) 评论(0) 推荐(0) 编辑