mirror of
https://github.com/apple/container.git
synced 2026-09-11 10:15:38 +00:00
While individual accesses were properly mutex-protected, the logical operations were not atomic, leading to a potential inconsistency in a multi-threaded environment. Multiple separate `state.withLock` calls created race windows. With the proposed changes, single atomic operations check and update the state together.
OS
This target contains general useful OS related definitions or wrappers.