[libcxx-commits] [PATCH] D119966: [SystemZ][z/OS] Add OPEN_THREAD version of pthread function call

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 15 12:44:11 PDT 2022


philnik added inline comments.


================
Comment at: libcxx/include/__threading_support:423
 {
+#if !defined(__MVS__) || defined( __SUSV3_THR)
   return pthread_detach(*__t);
----------------
When are `__MVS__`, `__SUSV3_THR` and `_OPEN_THREADS` set? Are they z/OS-specific flags? If not, are they changing the behaviour for other platforms libc++ supports?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119966



More information about the libcxx-commits mailing list