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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sun Mar 16 11:16:40 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)
----------------
jhuber6 wrote:

Does this need parens?

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


More information about the libc-commits mailing list