2015年11月28日

Condition Variable使用及其Thread Cancellation线程取消

摘要: 条件变量Condition Variable的一般用法:唤醒用法: 1 struct { 2 pthread_mutex_t mutex; 3 pthread_cond_t cond; 4 //whatever variables maintain the condition... 阅读全文

posted @ 2015-11-28 22:13 BestWill 阅读(603) 评论(0) 推荐(1) 编辑

导航