Finally, note that the entry in the Figure 5, identified as BLOCKER is HOLDER --*VICTIM* is the thread (the "victim") whose work will be rolled back to let the other proceed.
最后,请注意图 5 中的 BLOCKER is HOLDER --*VICTIM*,该线程 ("victim") 的作用是回滚以进行其他线程。
Instead of double-checked locking, use the Initialize-on-demand Holder Class idiom, which provides lazy initialization, is thread-safe, and is faster and less confusing than double-checked locking.
不使用双重检查锁定,而使用Initialize - on - demand Holder Class idiom,它提供了迟缓初始化,是线程安全的,而且比双重检查锁定更快且没那么混乱。
This theoretical agreement leads with the user to the acceptance that thread taps can be used in rigid tool holder without problems.
理论上同意,操作者可以在致密刀柄上使用攻丝螺纹。
应用推荐