• The producer adding an element to the queue will wait for a consumer in another thread.

    队列中加入元素生产者等待线程消费者

    youdao

  • When the thread completes its running slice on the CPU, it gets put back on the queue.

    线程CPU的时间结束之后,将被重新放回到这个队列中

    youdao

  • Another common threading model is to have a single background thread and task queue for tasks of a certain type.

    另一个常见线程模型类型任务分配一个后台线程任务队列

    youdao

  • There would be a bit of work involved in deciding (and programming) exactly how an arbitrary jump would interact with a linear thread queue, but nothing particularly mysterious about the work.

    决定(以及编写)一个任意跳转究竟如何线性线程队列交互涉及到不少工作不过这些工作没有什么特别神秘的地方。

    youdao

  • If events are building up in this queue, but not in the queue in front of the collaboration thread pool, then increase the number of threads configured for the source adapter controller.

    如果事件队列中堆积,并没有协作线程前面队列中堆积,则请增加适配器控制器配置线程数量

    youdao

  • The first thread locks the mutex and appends data to the queue, while the other threads wait for their turn.

    第一线程锁住互斥数据添加队列中其他线程等待轮到它们操作。

    youdao

  • Each CPU on a system has its own dedicated run queue, which is a list of runnable threads sorted by thread priority value.

    系统每个CPU都有自己专用的运行队列队列线程优先级排序的可运行线程列表

    youdao

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

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

    youdao

  • If events are building up in the transport queue (in front of the listener), increase the size of the thread pool for both the listener and the source adapter controller.

    如果事件传输队列(位于侦听)中堆积,则请同时增大侦听器适配器控制器线程大小

    youdao

  • Normally each thread reads and writes to its own queue.

    普通情况下每个线程自己的队列进行读写

    youdao

  • During idle time, the UI thread is also responsible for processing all messages in the application's Windows message queue.

    空闲时候UI线程同样要对应用程序窗体消息队列中的所有消息进行负责

    youdao

  • A run queue is a list of runnable threads, sorted by thread priority value.

    运行队列运行线程所组成列表,按照线程优先级的值进行排序

    youdao

  • This automatically places the thread on the global run queue.

    这样一来,就会自动地将线程放入全局运行队列中。

    youdao

  • When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.

    释放以后,系统争用者最高优先队列前端选择线程,以便试图锁定对象

    youdao

  • When a CPU is ready to dispatch a thread, the global run queue is checked before any of the others.

    CPU准备分派线程时,它会先检查全局运行队列然后再检查其他队列。

    youdao

  • So far, if a reader thread wanted to read data from a queue that had no data, you just threw an exception and moved on.

    目前如果线程试图没有数据队列读取数据,仅仅抛出异常继续执行。

    youdao

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

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

    youdao

  • A thread with an RT priority that voluntarily yields is placed at the back of the queue for its priority.

    具有RT优先自愿让步线程优先级置于队列端。

    youdao

  • A thread pool worker thread pulls the next WWEC from the input queue and runs it.

    线程工作线程输入队列提取下一个WWEC运行

    youdao

  • The queue is then read by a thread pool, which acquires the measurement and completes the trace process.

    然后线程读取队列获取测量数据完成跟踪流程

    youdao

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

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

    youdao

  • The method is instead added to a compilation queue, and the thread is allowed to continue running and execute the non-compiled version of the method.

    方法添加编译队列中线程可以继续运行执行方法编译版本

    youdao

  • In the run method of this class, grab the Web page, chunk, from off of the queue in each thread, and then process this chunk with Beautiful Soup.

    这个run方法中,队列中的各个线程获取web页面、文本然后使用BeautifulSoup处理这个文本块。

    youdao

  • The thread will in fact attempt another remove call on the queue and will become blocked until the next available request.

    事实上线程队列尝试另一个remove调用变成阻塞直到一个请求可用

    youdao

  • In looking at the code, you can see that we added another instance of a queue, and then passed that queue into the first thread pool class, ThreadURL.

    分析段代码可以看到我们添加了一个队列实例然后将该队列传递给第一线程ThreadURL

    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

  • This next example instead returns the whole Web page that each thread grabs, and then places it into another queue.

    下一个示例将返回线程获取完整web页面然后将结果放置另一个队列中。

    youdao

  • Similarly, when a notify() is done, the thread from the front of the highest-priority queue of waiters is unblocked from its wait.

    类似地完成notify() 以后,等待最高优先队列前端线程等待解除阻塞。

    youdao

  • The audit maximum incoming queue depth shows how many measurement objects were waiting on the queue to be processed by the audit thread at any one time.

    审计最大传入队列深度显示了同一时刻多少个measurement对象正在排队等候审计线程处理

    youdao

  • Any thread can tell which state the queue is in by comparing tail.next to null, which is the key to enabling threads to help other threads "finish" their operation.

    任何线程通过比较tail . next是否null,就可以判断队列状态线程可以帮助其他线程“完成”操作的关键

    youdao

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

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

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