[all-commits] [llvm/llvm-project] 11766a: [libc++] Don't try to wait on a thread that hasn't...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Feb 25 04:33:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11766a40972f5cc853e296231e5d90ca3c886cc1
      https://github.com/llvm/llvm-project/commit/11766a40972f5cc853e296231e5d90ca3c886cc1
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M libcxx/include/future
    A libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp

  Log Message:
  -----------
  [libc++] Don't try to wait on a thread that hasn't started in std::async (#125433)

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.

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