llvm-project/libcxx
Arthur O'Dwyer c92a253cf0 [libc++] Fix hang in counting_semaphore::try_acquire
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
2021-11-05 15:57:46 -04:00
..
benchmarks Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
cmake [CMake] Cache the compiler-rt library search results 2021-10-27 17:53:03 -07:00
docs [libcxx] Remove nonstandard _FilesystemClock::{to,from}_time_t 2021-11-04 10:24:47 +02:00
include [libc++] Fix hang in counting_semaphore::try_acquire 2021-11-05 15:57:46 -04:00
lib [libcxx] Make allocator<T>:allocate throw bad_array_new_length 2021-10-18 19:12:42 +01:00
src [libc++] Improve no wide characters configuration. 2021-11-04 19:35:06 +01:00
test [libc++] Fix hang in counting_semaphore::try_acquire 2021-11-05 15:57:46 -04:00
utils [NFC] Inclusive language: Remove instances of master in URLs 2021-11-05 08:48:41 -05:00
.clang-format [libc++] Update clang-format to C++20. 2021-10-30 12:50:57 +02:00
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [CMake] Cache the compiler-rt library search results 2021-10-27 17:53:03 -07:00
CREDITS.TXT [NFC] Add contributor name to CREDITS.TXT 2021-09-29 14:48:32 -04:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml