![]() Before this patch, `try_acquire` blocks instead of returning false. This is because `__libcpp_thread_poll_with_backoff` interprets zero as meaning infinite, causing `try_acquire` to wait indefinitely. Thanks to Pablo Busse (pabusse) for the patch! Differential Revision: https://reviews.llvm.org/D98334 |
||
---|---|---|
.. | ||
acquire.pass.cpp | ||
binary.pass.cpp | ||
ctor.compile.pass.cpp | ||
max.pass.cpp | ||
release.pass.cpp | ||
timed.pass.cpp | ||
try_acquire.pass.cpp |