go top

a block of synchronized code

网络释义

  同步程式区块

* 同步程式区块(A Block of Synchronized Code)-同步程式区块可以避免多位使用者同时存取实例变数,例如

基于12个网页-相关网页

有道翻译

a block of synchronized code

一个同步代码块

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • If you have two operations that require synchronization separated by a small block of thread-safe code, you are generally better just using a single synchronized block.

    要是一小线程安全代码要求同步两个操作隔开那么使用一个同步一般更好些

    youdao

  • If it is not small enough, you should analyze your code and refactor it in such a way that anything that could run asynchronously is located outside of the synchronized block.

    如果同步代码不够应该对代码进行分析,对其重构,以使所有可以异步运行代码均位于同步代码块之外

    youdao

  • In light of our observation it seems as if we should be able to optimize access in the case where a thread is looping over a synchronized block of code.

    根据我们观察我们似乎需要一些锁的访问进行优化,比如线程执行同步代码循环体中。

    youdao

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

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

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