Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 372 Bytes

PH_B007.md

File metadata and controls

9 lines (5 loc) · 372 Bytes

PH_B007 - Non-Atomic Access to Concurrent Collection

Problem

Multiple succeeding operations on the same concurrent collection are prone to race conditions since one operation most-likely depends on the result of the preceding.

Solution

Re-design the combination of multiple operations to a single operation with a suitable method of the concurrent collection.