[libcxx-commits] [libcxx] [libc++] Don't try to wait on a thread that hasn't started in std::async, take 2 (PR #130145)

Mikael Holmén via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 30 02:07:19 PDT 2025


mikaelholmen wrote:

I see time outs for the added testcase wait_on_destruct.pass.cpp every now and then.
Anything anyone else has noticed or has a clue about what could be the problem?
E.g. right now I ran
```build-all-builtins/bin/llvm-lit -av build-all-builtins/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/libcxx/test/std/thread/futures/futures.async/wait_on_destruct.pass.cpp```
25 times succesfully at trunk commit 6a120bf0 and then for the next run it suddenly hanged and timed out instead.

https://github.com/llvm/llvm-project/pull/130145


More information about the libcxx-commits mailing list