• This kind of queue is called a blocking queue.

    这种队列称为阻塞队列。

    youdao

  • Designing a concurrent blocking queue with timeouts.

    设计超时限制的并发阻塞队列

    youdao

  • Here are a couple of the finer aspects of the concurrent blocking queue design.

    并发阻塞队列设计两个要注意方面

    youdao

  • Listing 7 shows the modified version of the pop operation for the blocking queue.

    清单7给出阻塞队列pop操作定义。

    youdao

  • In a bounded blocking queue, the writer thread also needs to wait if the queue is full.

    对于大小限制的阻塞队列如果队列满了,线程需要等待

    youdao

  • In a blocking queue, only the reader thread needs to wait when there is no data in the queue.

    对于阻塞队列只有线程需要队列没有数据等待

    youdao

  • This queue type is similar to a concurrent blocking queue except that the size of the queue is bounded.

    这种队列并发阻塞队列相似但是对队列大小限制。

    youdao

  • For those unfamiliar with the concept of a blocking queue, it is essentially a FIFO data structure, with a twist.

    假如不熟悉阻塞队列概念实质上就是一种带有一点扭曲的FIFO数据结构

    youdao

  • Listing 6 shows a method that waits on a blocking queue until an item is available, regardless of whether it is interrupted.

    清单6展示了方法方法等待阻塞队列直到队列中出现一个可用项目而不管是否被中断。

    youdao

  • The first thing of note in Listing 13 and Listing 14 is that there are two condition variables instead of the one that the blocking queue had.

    对于清单13清单14要注意一点这个阻塞队列两个条件变量而不是一个

    youdao

  • When that consumer is available, the element is passed directly between consumer and producer, never literally getting added to the blocking queue.

    这个消费者出现时,这个元素直接在消费者生产者之间传递永远不会加入阻塞队列中

    youdao

  • Although the functionality of the blocking queue is not compromised with this choice, use of pthread_cond_signal could potentially lead to unacceptable wait times for some reader threads.

    尽管使用pthread_cond_signal不会损害阻塞队列功能,但是可能导致某些线程等待时间过长。

    youdao

  • Removes the next reference object in this queue, blocking until one becomes available.

    队列中删除一个引用对象阻塞直到个可用。

    youdao

  • Removes the next reference object in this queue, blocking until either one becomes available or the given timeout period expires.

    队列中删除一个引用对象阻塞直到可用给定超时期满。

    youdao

  • Designing a concurrent blocking bounded queue.

    设计有大小限制的并发阻塞队列。

    youdao

  • Designing a concurrent blocking bounded queue.

    设计有大小限制的并发阻塞队列。

    youdao

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

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

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