Files
swift-mirror/stdlib
Jonathan Grynspan 09887f16c8 Adjust the docs for Mutex.withLockIfAvailable() re: spurious failures.
This PR adjusts the documentation for `Mutex.withLockIfAvailable()` to clarify
that it is not subject to spurious failures. The C11 and C++11 specs for their
respective `tryLock()` APIs allow for spurious failures, but our implementations
and those of every other similar API I've found don't use weak `cmpxchg`s and
don't spuriously fail.
2025-11-13 14:04:44 -05:00
..