pthread_cond_wait()的使用方法: pthread_mutex_lock(&qlock); //lock mutex pthread_cond_wait(&qready, &qlock); //automatic unlock and wait for cond ; this is ...
確定! 回上一頁