摘要:
原文:http://www.cnblogs.com/wangkangluo1/archive/2011/06/16/2082287.html#include <pthread.h>#include <stdio.h>#include <sys/time.h>#include <string.h>#define MAX 10pthread_t thread[2];pthread_mutex_t mut;int number=0, i;void *thread1(){ printf ("thread1 : I'm thread 1\ 阅读全文