[libcxx-commits] [PATCH] D88599: [SystemZ][ZOS] Porting pthread_t related functionality within libc++ to z/OS
Hubert Tong via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 1 06:45:41 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: libcxx/include/__threading_support:93
+#if defined(__MVS__)
+ #define _LIBCPP_NULL_THREAD (__libcpp_thread_t())
+#else
----------------
The macro needs extra parentheses so that `sizeof _LIBCPP_NULL_THREAD` is not parsed as `sizeof(`<function type>`)`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88599/new/
https://reviews.llvm.org/D88599
More information about the libcxx-commits
mailing list