[libc-commits] [libc] [libc][sched] Implement proxy headers for `cpu_set_t`, `struct sched_param` and `sched_macros`. (PR #126303)
Krishna Pandey via libc-commits
libc-commits at lists.llvm.org
Tue Feb 11 15:02:29 PST 2025
================
@@ -12,7 +12,10 @@
#include "src/sched/sched_getcpucount.h"
#include "test/UnitTest/ErrnoSetterMatcher.h"
-#include <sched.h>
+#include "hdr/sched_macros.h"
----------------
krishna2803 wrote:
hmm now that i think of it, we might not need to do `LIBC_NAMESPACE::CPU_COUNT(&mask)` now and `CPU_COUNT(&mask)` should suffice as we don't include the system's `sched.h` now
https://github.com/llvm/llvm-project/pull/126303
More information about the libc-commits
mailing list