[libc-commits] [libc] [libc][sched] Implement `CPU_ZERO`, `CPU_ISSET`, `CPU_SET` macros (PR #131524)

Krishna Pandey via libc-commits libc-commits at lists.llvm.org
Sun Mar 16 12:39:05 PDT 2025


================
@@ -9,6 +9,9 @@
 #ifndef LLVM_LIBC_TYPES_CPU_SET_T_H
 #define LLVM_LIBC_TYPES_CPU_SET_T_H
 
+#define __CPU_SETSIZE 1024
+#define __NCPUBITS 8 * sizeof(unsigned long)
----------------
krishna2803 wrote:

fixed in [c94712f1](https://github.com/llvm/llvm-project/pull/131524/commits/c94712f13285a9657e35f982e081e4c28ec12b69)

https://github.com/llvm/llvm-project/pull/131524


More information about the libc-commits mailing list