Logo
Explore Help
Sign In
shylie/llvm-project
1
0
Fork 0
You've already forked llvm-project
Code Issues Pull Requests Actions 6 Packages Projects Releases Wiki Activity
llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany
History
Hui 85a8e5c3e0
[libc++] fix condition_variable_any hangs on stop_request (#77127)
When I implemented `condition_variable_any::wait`, I missed the most
important paragraph in the spec:

> The following wait functions will be notified when there is a stop
request on the passed stop_token.
> In that case the functions return immediately, returning false if the
predicate evaluates to false.

From
https://eel.is/c++draft/thread.condition#thread.condvarany.intwait-1.

Fixes #76807
2024-01-20 21:18:44 +00:00
..
assign.compile.fail.cpp
…
copy.compile.fail.cpp
…
default.pass.cpp
…
destructor.pass.cpp
…
helpers.h
[libc++] fix condition_variable_any hangs on stop_request (#77127)
2024-01-20 21:18:44 +00:00
notify_all.pass.cpp
…
notify_one.pass.cpp
…
wait_for_pred.pass.cpp
…
wait_for_token_pred.pass.cpp
[libc++] fix condition_variable_any hangs on stop_request (#77127)
2024-01-20 21:18:44 +00:00
wait_for.pass.cpp
…
wait_pred.pass.cpp
…
wait_terminates.sh.cpp
[libc++][NFC] Refactor _LIBCPP_AVAILABILITY_HAS_* macros to always be defined (#71002)
2023-11-24 23:45:17 +01:00
wait_token_pred.pass.cpp
[libc++] fix condition_variable_any hangs on stop_request (#77127)
2024-01-20 21:18:44 +00:00
wait_until_pred.pass.cpp
…
wait_until_token_pred.pass.cpp
[libc++] fix condition_variable_any hangs on stop_request (#77127)
2024-01-20 21:18:44 +00:00
wait_until.pass.cpp
…
wait.pass.cpp
…
Powered by Gitea Version: 1.23.1 Page: 1115ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API