condition variable attributes 条件变量属性
Condition Variable Usage 条件变量使用方法
process condition variable 工况参数
Condition variable and threads 条件变量与线程
Variable Frequency Air-condition 变频空调
variable boundary condition 运动边界条件
In some implementations, threads may occasionally wake up without a signal sent to their condition variable.
在有些实现中,线程可能偶尔在没有信号送到条件变量的情况下醒过来。
Instead of throwing an exception when the queue is empty, the reader thread now blocks itself on the condition variable.
当队列是空的时候,读线程现在并不抛出异常,而是在条件变量上阻塞自身。
If another thread calls pthread_cond_signal on a condition, then a thread that was waiting on that condition variable is woken up.
如果另一个线程对一个条件变量调用pthread_cond_signal,那么那个等待这个条件而被阻塞的线程就会被唤醒。
应用推荐