• If necessary, a waiting thread is signaled to pick up the newly enqueued object.

    如果需要通知等待线程选取刚刚进入队列的对象。

    youdao

  • When the waiting thread is released, the state is reset to non-signaled state.

    正在等待的线程被释放时,状态就被设置无信号的状态。

    youdao

  • When the mutex becomes signaled, only one waiting thread is released to access the resource.

    线程锁的被标记,只有一个等待线程释放访问这些资源。

    youdao

  • This will cause the waiting thread to pause indefinitely and wait for the class to be signaled.

    引起等待线程无限期的阻塞等待通知

    youdao

  • If the list is empty, the number of waiting threads is incremented and the current thread is blocked.

    如果列表会增加等待线程数量,并阻塞当前线程

    youdao

  • In the auto reset event, the state of the object remains signaled until a single waiting thread is released.

    自动重置事件(auto reset event)中,对象状态一直维持为有信号状态,直到单个正在等待线程被释放为止。

    youdao

  • When the first thread exits the synchronized block, the waiting thread enters and creates another Singleton object.

    第一线程退出synchronized时,等待着的线程进入创建另一个Singleton对象

    youdao

  • When a client becomes available on the request queue, it is immediately consumed by the first waiting thread blocked on the remove method.

    客户机请求队列变为可用时,马上remove方法中阻塞第一等待线程所消费

    youdao

  • A single visitor doesn't just mean a few incidental page requests; it also means an open connection (with a waiting thread) for as long as the visitor stays.

    单个的访问只是意味着一些偶然页面请求意味着访问期间一个持续打开连接(带有等待线程)。

    youdao

  • When a thread is blocked waiting for I/O, it is useful to be able to separate the waiting thread from the original thread of execution, allowing it to continue working.

    一个线程等待I/O 的过程中阻止时,将等待中的线程原始执行线程分离开来将会有用,这将使继续工作。

    youdao

  • It is possible for an exception to occur that forces a branch to the finally clause of the lock statement, releasing the lock and allowing access to any waiting thread to the corrupted resource.

    强行进入lock语句finally子句释放以及允许访问任意等待线程(该线程占用了已被破坏的资源),都可能引发异常。

    youdao

  • This is good practice, because the waiting time of the reader thread is reduced after wake-up.

    一种做法因为这会减少唤醒之后线程等待时间

    youdao

  • This allows the thread to stop waiting if no messages have arrived, and check a flag to see if we should keep waiting for messages.

    将允许线程没有消息到达的情况下停止等待查看标志看看是否应该坚持等待消息。

    youdao

  • Number of waits and total wait time: the number of instances and total elapsed time when the thread was waiting while invoking a method or service.

    等待数量等待时间调用方法服务等待线程实例数量和总占用时间。

    youdao

  • So when a thread is put into a wait state waiting for something to happen, it incurs a wait of some period of time.

    所以线程置于等待某事发生等待状态会导致等待时间

    youdao

  • Once all 25 threads were blocked, the tasks they are waiting on cannot be attached to a thread.

    一旦所有25个线程被阻塞的时候,等待中的任务无法分配到线程了。

    youdao

  • Because each thread is waiting for a lock held by the other, a deadlock occurs.

    因为每个线程等候对方持有,所以就发生了死

    youdao

  • This approach has some obvious drawbacks, including the fact that while a thread is blocked waiting for a lock, it cannot do anything else.

    方法具有一些明显缺点其中包括线程阻塞来等待锁定时,无法进行其他任何操作。

    youdao

  • For instance, a thread waiting until items are added to a linked list may wake up to find the list empty.

    比如一个正在等待货物加入中的线程,当它被唤醒可能发现链表是空的。

    youdao

  • You can use this method when waiting on a single thread synchronization object.

    等待单一线程同步对象时,可以使用方法

    youdao

  • This could mean that the thread is hung, or stuck while waiting for something.

    可能意味着线程由于等待停滞了

    youdao

  • This resulted in the deadlock, because the UI thread was blocked waiting for the API to return.

    导致了这样僵局因为UI线程不再等待API的返回。

    youdao

  • Once the condition is met you need a method to wake up the thread (s) that are waiting for that particular condition to become true.

    一旦条件满足,还需要一种方法唤醒等待满足特定条件而睡眠线程

    youdao

  • The provider is now finished and can use its thread to perform other work (such as waiting for another request).

    现在,提供者工作已经完成了,可以使用线程执行其他的工作(例如等待另一个请求)。

    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

  • Wait_Reason: Reason the thread is waiting.

    Wait_Reason:线程等待原因

    youdao

  • While a servlet holds a persistent request in a waiting state, that servlet is monopolizing a thread.

    等待状态servlet持有持久性请求时,servlet独占一个线程。

    youdao

  • Waits occur when a thread enters a wait state of WAITING or TIMED_WAITING pending another thread's activity.

    线程进入WAITINGTIMED _ WAITING等待状态并暂停另一个线程活动时将发生等待事件。

    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

  • In the classic servlet model, an open connection means a dedicated thread is doing nothing but waiting until it needs to update the client in response to an event.

    典型servlet模型中,打开连接意味着执行任何操作专用线程将一直等待直到在响应事件时更新客户端。

    youdao

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

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

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