1. 混合使用pthread_mutex_t和pthread_cond_wait的优点 **多线程单独使用pthread_mutex_t时,会引起惊群效应,因此cpu不必要的浪费,混合使用时,条件变量可以使用pthread_cond_signal唤醒单独一个线程**