aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/WhitespaceManager.cpp
diff options
context:
space:
mode:
authorHui <hui.xie1990@gmail.com>2024-01-20 21:18:44 +0000
committerGitHub <noreply@github.com>2024-01-20 21:18:44 +0000
commit85a8e5c3e0586e85a2fa3ff9cef12455bd039921 (patch)
tree585fd8a2be160ab349bf5d8aadfe30a6fd912cbe /clang/lib/Format/WhitespaceManager.cpp
parent1cc7cd46a9158e2c254ed72274c69f36f62cf7a3 (diff)
downloadllvm-85a8e5c3e0586e85a2fa3ff9cef12455bd039921.zip
llvm-85a8e5c3e0586e85a2fa3ff9cef12455bd039921.tar.gz
llvm-85a8e5c3e0586e85a2fa3ff9cef12455bd039921.tar.bz2
[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
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions