10.2 線程安全

線程安全 「Behaves correctly」 不違反spec、保持RI 「Regardless of how threads are executed」 與多少處理器、OS如何調度線程均無關 「Without additional coordination」 不需要在spec中強制要求client滿足某種「線程安全」的義務 例如:Iterator是線程不安全的。 一、Strategy 1: C
相關文章
相關標籤/搜索