[libcxx-commits] [PATCH] D91992: [libc++] Add an extension to allow constructing std::thread from native handles

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 23 12:48:23 PST 2020


ldionne added subscribers: __simt__, wash, EricWF, jfb.
ldionne added a comment.

I'm interested to hear what folks like @EricWF, @jfb, @wash and @__simt__ have to say about this. This appears to be the easiest and most extensible way to allow creating threads on platforms that require stuff like a stack size. I read https://wg21.link/p2019, but I wasn't convinced by the reason why they did not push on this alternative.

I have concrete needs for this, and I think it would be a valuable experiment to make in libc++. I'd be OK with enabling this extension conditionally only, however I don't think the increased configuration complexity is worth it. Thoughts?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91992



More information about the libcxx-commits mailing list