
有道词典
网络释义
- 1. safe code: 尽量使用安全代码 | 安全代码
- 2. thread-safe code: 安全线程代码
- 3. safe code interpretation: 代码的安全解释 | 安全代码解释
更多释义
例句
- 1.But the results are almost always more correct: fewer deadlocks and more production-safe code.
—但结果几乎总是正确的:更少的死锁和更加适合生产的代码。
dict.yoduao.com
- 2.On the surface it looks as though lock elision allows us to write thread safe code without any synchronization penalty for using in cases where it really wasn't needed.
从表面上看,锁省略似乎可以允许我们不必忍受同步带来的负担,就可以编写线程安全的代码了,前提是在同步的确是多余的情况下。
dict.yoduao.com
- 3.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.
要是您想用一小块线程安全代码把要求同步的两个操作隔开,那么只使用一个同步块一般会更好些。
dict.yoduao.com
©2026 网易公司