摘要:
#include #include #include #include using namespace std;#define NUM 5#define Count 20#define ProCount 40sem_t mutex,full;int amount=0;void *Producer(void *arg){ int i=0; while(i=NUM) { cout<<"已满"<<endl; } else { amount++; cout<<"余下:"... 阅读全文
posted @ 2013-10-22 15:23
蓝夜
阅读(513)
评论(0)
推荐(0)

浙公网安备 33010602011771号