學習apue的pthread synchronize之condition variables

學習apue11.6.6 condition variables實踐: 使用書上的condition variables和wait函數 1 #include<pthread.h> 2 #include<stdio.h> 3 #include<iostream> 4 5 using namespace std; 6 7 bool flag = false; 8 pthread_c
相關文章
相關標籤/搜索