[libcxx-commits] [libcxx] [libc++][pstl] Introduce a "statpart" backend (PR #230540)
Michael G. Kazakov via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 15 04:35:05 PDT 2026
================
@@ -30,8 +30,14 @@ _LIBCPP_PUSH_MACROS
# elif defined(_LIBCPP_PSTL_BACKEND_LIBDISPATCH)
# include <__pstl/backends/default.h>
# include <__pstl/backends/libdispatch.h>
+# elif defined(_LIBCPP_PSTL_BACKEND_STATPART)
+# include <__pstl/backends/default.h>
+# include <__pstl/backends/statpart.h>
# endif
+// statpart pulls <cerrno> in transitively via __thread/thread.h, make sure this include is not conditional/flaky.
+# include <cerrno>
----------------
mikekazakov wrote:
Related PR: #232284
https://github.com/llvm/llvm-project/pull/230540
More information about the libcxx-commits
mailing list