mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
On all platforms except Linux, calling `withLockIfAvailable()` recursively just returns `nil`. However, our Linux implementation chooses to abort the process instead. We don't need this inconsistent/destructive behaviour and can just return `nil` as we do elsewhere.