Files
swift-mirror/lib/Threading/C11.cpp
Alastair Houghton 0b4ea77880 [Threading] Fix C11 once implementation to not rely on lock recursion.
The implementation mistakenly locked and unlocked the mutex in
`helper.once_wait()`, which is only ever called from inside a region
where the mutex is already locked.

rdar://119739594
2024-01-08 09:34:11 +00:00

2.5 KiB