[PATCH] D68820: win: Move Parallel.h off concrt to cross-platform code

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 14 18:31:15 PDT 2020


aganea added a comment.

In D68820#2037557 <https://reviews.llvm.org/D68820#2037557>, @BillyONeal wrote:

> BTW `ThreadPoolExecutor` has undefined behavior since there's a detached thread touching the standard library when the program exits violating [basic.start.term]/6. Detached threads are almost never safe.


This was fixed later by D70447 <https://reviews.llvm.org/D70447>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68820/new/

https://reviews.llvm.org/D68820





More information about the llvm-commits mailing list