• Like many queue algorithms, an empty queue consists of a single dummy node.

    像许多队列算法一样,空队列只包含一个假节点。

    youdao

  • Children clutching empty bowls form a queue.

    抓着空碗的孩子们排成一队。

    《柯林斯英汉双解大词典》

  • The thread scheduler must dispatch from the head of the highest-priority queue that is not empty.

    线程调度程序必须从非空的最高优先级队列的头部开始调度。

    youdao

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

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

    youdao

  • You placed 950 messages to the queue when it was empty.

    当队列为空时,您在其中放置了950条消息。

    youdao

  • In its simplest mode it ACTS as a thread-safe queue in which consumers are blocked while the queue is empty.

    它最简单的使用模式便是作为一个线程安全的队列,并且在队列为空时阻塞消费者。

    youdao

  • However, if its queue is empty then it will steal items from another thread's queue.

    不过在队列为空时,它就会从其它线程的队列中“窃取”一些元素。

    youdao

  • The first reader thread locked the mutex, realized that the queue is empty, and blocked itself on _cond, which implicitly released the mutex.

    第一个读线程锁住互斥锁,发现队列是空的,然后在 _cond 上阻塞自身,这会隐式地释放互斥锁。

    youdao

  • In the event the thread's task queue is empty, it then tries to steal another task off the tail of another thread's deque.

    当线程的任务队列为空,它将尝试从另一个线程的deque的尾部窃取另一个任务。

    youdao

  • The second consumer gets the lock (it can proceed because it was notified) and tries to work a task, but now the queue is empty.

    第二个consumer获得锁(因为通知了它所以它可以继续向下进行)并试图运行任务,但是现在队列是空的。

    youdao

  • In the above example, empty string is used for the output queue library and queue name to indicate that spool files from any output queue are considered for indexing.

    在上面的例子中,输出队列库和队列名称使用了空字符串,表明将对所有输出队列中的spool文件进行索引。

    youdao

  • One consumer gets the lock, works the task, and leaves the queue empty.

    一个consumer获得锁,运行任务,并把队列清空。

    youdao

  • Two consumer threads are started, find the queue to be empty, and do wait().

    启动了两个consumer线程,发现队列是空的,执行wait()。

    youdao

  • A woman holds onto an empty water container as residents queue for supplies at a shop in the coastal town of Mito, March 12, 2011.

    2011年3月12日,水户的沿海镇内,一妇女手持空水盒,在一商店前的居民长队中等待补给。

    youdao

  • Before removing a task from the queue, the work method checks to see if it is empty and if so, waits.

    在从队列中删除一个任务之前,work方法进行检查以查看队列是否为空,如果为空则等待。

    youdao

  • The system sends a WM_PAINT message to a window whenever its update region is not empty and there are no other messages in the application queue for that window.

    该系统发送一个WM_PAINT消息到一个窗口时,它的更新区域不为空,并在该窗口的消息队列中没有其他消息。

    youdao

  • The queue is BlockingCollection which perfectly suits the needs of this module: it blocks the producer thread if the queue is full and blocks the consumer thread when queue is empty.

    队列是BlockingCollection,它非常适合这个模块:在队列满时,阻塞生产者线程,当队列空时,阻塞消费者线程。

    youdao

  • The queue is BlockingCollection which perfectly suits the needs of this module: it blocks the producer thread if the queue is full and blocks the consumer thread when queue is empty.

    队列是BlockingCollection,它非常适合这个模块:在队列满时,阻塞生产者线程,当队列空时,阻塞消费者线程。

    youdao

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

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

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