[all-commits] [llvm/llvm-project] 696c0f: [libc++] Don't try to wait on a thread that hasn't...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Thu Jun 26 03:13:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 696c0f92e0fef955e331895cd8d65fb6cc080ad3
https://github.com/llvm/llvm-project/commit/696c0f92e0fef955e331895cd8d65fb6cc080ad3
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M libcxx/include/future
A libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
A libcxx/test/std/thread/futures/futures.async/wait_on_destruct.pass.cpp
Log Message:
-----------
[libc++] Don't try to wait on a thread that hasn't started in std::async, take 2 (#130145)
If the creation of a thread fails, this causes an idle loop that will
never end because the thread wasn't started in the first place.
This also adds a test for the regression reported in #125433 to make
sure we're not reintroducing it later.
Fixes #125428
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list