Printf("execute result:%d",pthread_cond_wait(&reply_cond, &reply_mutex)); 执行没有返回结果,日志也没有打印 查询linux doc查到如下结果: Description The pthread_cond_timedwait() and pthread_cond_wait() functions sh
1. 首先pthread_cond_wait 的定义是这样的 The pthread_cond_wait()and pthread_cond_timedwait()functions are used to block on a condition variable. They are called with mutexlocked by the calling thread or unde