摘要: #include #include int gcond=0;pthread_mutex_t pm;pthread_cond_t pcond;static void *thread_func(void *arg){ do{ pthread_mute... 阅读全文
posted @ 2014-06-30 17:18 holycrap 阅读(171) 评论(0) 推荐(0) 编辑
摘要: /*************************************************************************\* Copyright (C) Michael Kerrisk, 2014. *... 阅读全文
posted @ 2014-06-30 13:03 holycrap 阅读(336) 评论(0) 推荐(0) 编辑