• Note that all the methods, even get(), need to be synchronized for the class to be thread-safe, to ensure that no updates are lost, and that all threads see the most recent value of the counter.

    注意所有方法,甚至需要同步get(),使类成为线程安全的类,从而确保没有任何更新信息丢失,所有线程都看到计数器的最新值。

    youdao

  • After the counter has been incremented, the invoking process does a wait , which leads to the calling thread getting blocked.

    在计数增加之后,调用进程执行wait,这导致调用进程受阻塞。

    youdao

  • For example, you could have a global counter, and once it reaches a certain count a thread activates.

    比如你可以建立一个全局计数器,一旦它到达某个值一个线程就被激活。

    youdao

  • Current user program counter for this thread.

    这个线程的当前用户程序计数器。

    youdao

  • The thread that activates once the counter reaches the limit would wait on the condition variable.

    一旦计数器达到界限就激活的线程会等待条件变量。

    youdao

  • Sweden's WRC counter requires a special blend of speed and precision as drivers thread their cars between snow Banks and trees.

    瑞典站的比赛要求车手在穿越灌木丛和森林时能够精确地协调好赛车的速度。

    youdao

  • Sweden's WRC counter requires a special blend of speed and precision as drivers thread their cars between snow Banks and trees.

    瑞典站的比赛要求车手在穿越灌木丛和森林时能够精确地协调好赛车的速度。

    youdao

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

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

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