• 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

  • 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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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