• When one thread interrupts another, the interrupted thread does not necessarily stop what it is doing immediately.

    当一个线程中断另一个线程时,被中断的线程不一定要立即停止正在做的事情。

    youdao

  • If this code is interrupted by another thread after executing line C3 but before completing the constructor, double-checked locking fails.

    如果此代码在执行c 3行后且在完成该构造函数前被另一个线程中断,则双重检查锁定就会失败。

    youdao

  • Each processor on the CPU has its own CSA (current save area) pointer that points to the MST that is to be used when a thread or interrupt handler is interrupted or swapped due to context switch.

    CPU上的每个处理器都拥有自己的CSA(当前保存区)指针,指向当线程或中断处理程序由于上下文切换而被中断或交换时使用的MST。

    youdao

  • The interrupted status is initially false; when a thread is interrupted by some other thread through a call to Thread.interrupt(), one of two things happens.

    中断状态初始时为 false;当另一个线程通过调用 Thread.interrupt() 中断一个线程时,会出现以下两种情况之一。

    youdao

  • For example, a thread might be interrupted while manipulating some cross-thread data and might not have an opportunity to reset everything to a valid state.

    例如,在处理一些跨线程数据时,某线程可能被中断,并且可能没有机会将一切重置为有效状态。

    youdao

  • We'll use an NHRT to minimise the possibility of the polling thread being interrupted by the garbage collector and missing measurements.

    我们将使用一个NHRT来最小化轮询被垃圾收集器中断的线程以及丢失度量结果的可能性。

    youdao

  • When a thread is running on a CPU and gets interrupted, it usually gets placed back on the same CPU because the processor's cache might still have lines belonging to the thread.

    当某个线程在一个CPU上运行并发生了中断,通常会将它放回到相同的CPU上运行,因为这个处理器的缓存中仍然保存了属于该线程的相关信息。

    youdao

  • It creates a thread that enumerates prime Numbers until it is interrupted and allows the thread to exit upon interruption.

    清单5创建一个线程,该线程列举素数,直到被中断,这里还允许该线程在被中断时退出。

    youdao

  • The cancel method takes a Boolean flag to indicate whether the thread performing the accept can be interrupted.

    cancel方法可利用一个布尔标志来指出执行接受的线程是否可被中断。

    youdao

  • The interrupted status of the current thread is cleared when this exception is thrown.

    在抛出此异常时,当前线程的中断状态被清除。

    youdao

  • Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.

    阻塞直到所有任务执行完毕。当任意以下情况出现则停止阻塞,以先发生为准:收到关闭请求、超时、线程中断。

    youdao

  • Or, if I'm in the middle of a long story, and we're interrupted, and the other person shows no interest in picking up the thread of the dropped conversation, I order myself to let it go.

    或者,如果我在给对方讲述一段长故事时中途被外界打断而对方似乎对重提不感兴趣,那么我会命令自己不再提起。

    youdao

  • Or, if I'm in the middle of a long story, and we're interrupted, and the other person shows no interest in picking up the thread of the dropped conversation, I order myself to let it go.

    或者,如果我在给对方讲述一段长故事时中途被外界打断而对方似乎对重提不感兴趣,那么我会命令自己不再提起。

    youdao

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

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

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