摘要: 原文: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\ 阅读全文
posted @ 2012-06-09 12:05 Leo Forest 阅读(263) 评论(0) 推荐(0) 编辑