• Instead of throwing an exception when the queue is empty, the reader thread now blocks itself on the condition variable.

    队列时候,线程现在并不抛出异常而是条件变量阻塞自身

    youdao

  • If the queue is full, the writer thread waits on the _wcond condition variable; the reader thread will need a notification to all threads after consuming data from the queue.

    如果队列了,线程等待_ wcond条件变量线程队列中取出数据之后需要通知所有线程

    youdao

  • 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,那么那个等待这个条件而被阻塞的线程就会被唤醒。

    youdao

  • If another thread calls pthread_cond_broadcast on a condition, then all threads waiting on that variable are woken up.

    如果另一个线程对这个条件变量调用pthread_cond_broadcast,那么所有等待这个条件而阻塞的线程都会被唤醒。

    youdao

  • Next, the reader thread needs to ensure (and this is the second check you perform) that it does not wait on the condition variable any more than the specified timeout period.

    接下来线程需要确保(第二检查)等待条件变量时间超过指定超时时间

    youdao

  • Therefore, at the end of it all, you now have two reader threads, both waiting on the condition variable, and the mutex is unlocked.

    因此最后两个线程等待条件变量互斥锁没有锁住。

    youdao

  • It also allows you to unlock the mutex and wait on the condition variable atomically, without the possible intervention of another thread.

    允许原子地(atomically)解除互斥锁定,等待条件变量不会有干涉其他线程可能

    youdao

  • Doing so awakens all the reader threads that were waiting on the condition variable _cond; the reader threads now implicitly compete for the mutex lock as and when it is released.

    这么会唤醒所有等待条件变量_ cond线程;读线程现在隐式地争夺互斥锁。

    youdao

  • This paper presents the fuzzy reliability design of the helical compression spring, on condition that a fuzzy variable strength and a random stress are given.

    本文螺旋压缩弹簧强度模糊变量、应力为随机变量的情况,提出了模糊可靠设计方法,并给出了计算实例。

    youdao

  • Based on the conservative condition of vector lines of variable field in the continuous medium, the problems of electromagnetic field in the moving system are discussed in this paper.

    本文由连续介质中的可变矢量线保持性条件,主要讨论了运动系统电磁场的保持性问题

    youdao

  • A condition variable allows a task to wait on a synchronization primitive within a critical region.

    条件变量允许任务等待一个同步语,以进入临界区。

    youdao

  • Experimental design may not only clarify influence of the independent variable on the dependent variable in the testing, but also seek its best test condition.

    通过试验设计不仅可以弄清楚试验过程自变量对于因变量影响的大小和趋势,可以寻找最佳试验条件。

    youdao

  • The thread that activates once the counter reaches the limit would wait on the condition variable.

    一旦计数器达到界限就激活线程等待条件变量

    youdao

  • The condition, which they imposed on the distribution of the regressor variable X in their construction of the estimators, is very restrictive.

    他们估计中,自变量分布加上了很强的限制性条件

    youdao

  • This paper carries on the research of the variable condition property theory model for large-capacity power plant boiler.

    本文针对大容量电站锅炉工况特性进行理论模型研究

    youdao

  • Study on the characteristics of variable condition of the same cascade equipped with a cylindrical or a elliptic lacing wire is made in this paper with CFD.

    本文主要运用CFD方法,同一平面叶,对分别装有圆柱形椭圆形拉金进行了多个工况下气动特性比较。

    youdao

  • Simultaneously, it provides the method to determine the best pressure of header system and optimum frequency of variable frequency pump based on the special working condition.

    同时给出特定工况下,确定最佳母管压力变频最佳频率方法

    youdao

  • Simultaneously, it provides the method to determine the best pressure of header system and optimum frequency of variable frequency pump based on the special working condition.

    同时给出特定工况下,确定最佳母管压力变频最佳频率方法

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定