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

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

    youdao

  • If the task needs to be more responsive, it can poll the interrupted status more frequently.

    如果任务需要提高响应能力,那么可以更频繁地轮中断状态

    youdao

  • When a blocking method detects interruption and throws InterruptedException, it clears the interrupted status.

    一个阻塞方法检测到中断抛出InterruptedException时清除中断状态

    youdao

  • To be a good citizen, it restores the interrupted status in a finally block after it is finished, so as not to deprive callers of the interruption request.

    为了方便他人,结束后一个finally中恢复中断状态以免剥夺中断请求调用者的权利。

    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

  • Methods that do not block but that still may take a long time to execute can respect requests for interruption by polling the interrupted status and return early if interrupted.

    对于中断请求阻塞但是仍然要花时间执行方法可以轮询中断状态中断的时候提前返回

    youdao

  • However, even noncancelable tasks should attempt to preserve the interrupted status in case code higher up on the call stack wants to act on the interruption after the noncancelable task completes.

    但是即使是不可取消任务也应该尝试保留中断状态以防不可取消的任务结束之后调用上更高层的代码需要中断进行处理。

    youdao

  • I gave my son a task, and he (repeatedly) interrupted me with the status.

    儿子一个任务(重复)打断,告诉我他的状态。

    youdao

  • Conclusions the endemic rebound in regions after the transmission under control or interrupted is caused by biological, natural and social factors and mainly presents as the rebound of snail status.

    结论生物自然社会等诸多因素的影响,传阻达标地区疫情回升主要表现螺情回升。

    youdao

  • Conclusions the endemic rebound in regions after the transmission under control or interrupted is caused by biological, natural and social factors and mainly presents as the rebound of snail status.

    结论生物自然社会等诸多因素的影响,传阻达标地区疫情回升主要表现螺情回升。

    youdao

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

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

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