线程与信号,线程与锁
摘要:
#include#include#includepthread_mutex_t number_mutex = PTHREAD_MUTEX_INITIALIZER;int globvar = 0 ;void *write_p(void *arg){ while(1){... 阅读全文
posted @ 2015-07-27 19:35 zmrlinux 阅读(258) 评论(0) 推荐(0)
posted @ 2015-07-27 19:35 zmrlinux 阅读(258) 评论(0) 推荐(0)
posted @ 2015-07-27 10:26 zmrlinux 阅读(293) 评论(0) 推荐(0)
posted @ 2015-07-27 09:25 zmrlinux 阅读(457) 评论(0) 推荐(0)