摘要:        
#include #include #include #include #define MAX 20 //定义三个线程共同完成计数任务 pthread_t thread[3]; pthread_mutex_t mut;//定义互斥锁变量 int num=0; int i; void *thread1(){ printf("thread1:im thread 1"); for(i...    阅读全文
        
            posted @ 2016-08-05 10:51
风雨缠舟
阅读(273)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号