摘要:
#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" 阅读全文