摘要:
1.error: expected declaration or statement at end of input 【症状】某个地方少了个括号。 阅读全文
posted @ 2012-10-19 17:05
jihite
阅读(445)
评论(0)
推荐(0)
摘要:
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <pthread.h>#include <time.h>#define MAX 3int number =0;pthread_t id[2];pthread_mutex_t mut; //初始化静态互斥锁void thread1(void){ int i; printf("Hello,I am pthread1!\n"); for (i=0; i<MAX; i++) { pthre 阅读全文
posted @ 2012-10-19 17:00
jihite
阅读(993)
评论(0)
推荐(0)

浙公网安备 33010602011771号