10.2 线程安全

线程安全 “Behaves correctly” 不违反spec、保持RI “Regardless of how threads are executed” 与多少处理器、OS如何调度线程均无关 “Without additional coordination” 不需要在spec中强制要求client满足某种“线程安全”的义务 例如:Iterator是线程不安全的。 一、Strategy 1: C
相关文章
相关标签/搜索