... 尽量使用标准异常 standard exceptions 尽量使用安全代码 safe code 尽量使用低排量的座驾 Downsize Your Car ...
基于32个网页-相关网页
thread-safe code 安全线程代码
safe code interpretation 代码的安全解释 ; 安全代码解释
exception-safe code 异常安全代码
Safe-critical Code 可靠关键代码
internal safe management code 船内安全管理规则
code of safe practice 安全操作规则
But the results are almost always more correct: fewer deadlocks and more production-safe code.
—但结果几乎总是正确的:更少的死锁和更加适合生产的代码。
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.
从表面上看,锁省略似乎可以允许我们不必忍受同步带来的负担,就可以编写线程安全的代码了,前提是在同步的确是多余的情况下。
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.
要是您想用一小块线程安全代码把要求同步的两个操作隔开,那么只使用一个同步块一般会更好些。
And the most important thing in the Southern code of honor, I think, safe to say, was reputation.
南方人所谓的荣誉的核心部分,我以为,可以肯定的说,是声誉
应用推荐