摘要:
#include <pthread.h>#include <stdio.h>#include <sys/time.h>#include <string.h>#include <unistd.h>#define MAX 10pthread_t thread[2];pthread_mutex_t mut;int number=0, i;void *thread1(void *){ printf ("thread1 : I'm thread 1\n"); for (i = 0; i < MAX; i++) 阅读全文
posted @ 2011-10-20 21:51
MySparrow
阅读(320)
评论(0)
推荐(0)

浙公网安备 33010602011771号