synchronized block
同步块
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Synchronized method or synchronized block?
同步方法或同步代码块?
youdao
The reason is that the synchronized block in Listing 5 prevents parallel execution.
其原因是清单5的同步代码阻止了并行执行。
Under those conditions the values in the synchronized block will never be contended for.
在这种条件下,同步块中的值永远不会存在竞争。
应用推荐
模块上移
模块下移
不移动