摘要: 将请求的接口的动作放在互斥锁中进行 1: 2: 3: pthread_mutex_t mutex; 4: pthread_t thread; 5: sem_t * m_structSem; 6: 7: struct SimpleStructure 8: { 9: ... 阅读全文
posted @ 2013-05-10 15:51 meteoric_cry 阅读(5274) 评论(0) 推荐(0) 编辑