一个简单的互斥锁的例子

/*thread_example.c : c multiple thread programming in linux */ #include<stdio.h> #include<stdlib.h> #include<pthread.h> #include<memory.h> #define MAX1 10 #define MAX2 30 pthread_t thread[
相关文章
相关标签/搜索