线程同步机制之互斥锁通信机制
摘要:
#include #include #include #include void *thread_function(void *arg);pthread_mutex_t work_mutex;#define WORK_SIZE 1024char work_area[WORK_SIZE];int ti... 阅读全文
posted @ 2014-06-15 17:35 lakeone 阅读(357) 评论(0) 推荐(0) 编辑