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

Muiez Ahmed via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 23 07:34:27 PDT 2022


muiez 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)
----------------
ldionne wrote:
> There is no named API for this on z/OS?
Unfortunately, there isn't an 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