[libcxx-commits] [libcxx] varconst/fix flaky atomic wait (PR #70435)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 31 07:06:00 PDT 2023


================
@@ -46,7 +47,7 @@ int main(int, char**) {
   // Postconditions: get_id() != id() is true and ssource.stop_possible() is true
   // and *this represents the newly started thread.
   {
-    std::jthread jt{[] {}};
----------------
ldionne wrote:

I think we ended dropping the change for this exact reason!

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


More information about the libcxx-commits mailing list