[libcxx-commits] [PATCH] D134216: [SystemZ][z/OS] add code for hardware_concurrency()

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 20 14:42:02 PDT 2022


ldionne added inline comments.


================
Comment at: libcxx/src/thread.cpp:110
+
+  return ((((int* __ptr32* __ptr32* __ptr32)0)[4])[165])[53];
 #else  // defined(CTL_HW) && defined(HW_NCPU)
----------------
There is no named API for this on z/OS?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134216



More information about the libcxx-commits mailing list