mirror of
https://github.com/apple/swift.git
synced 2026-11-16 04:24:33 +01:00
These are unnecessary given how short the critical sections are, and in the case of `dispatchBarrierSync`, can result in a deadlock due to an apparent libdispatch bug (rdar://181437785). Replace them mutexes instead. rdar://174790920