[libc-commits] [PATCH] D148069: [LIBC] Implement remainder of posix 'sched.h' minus `SCHED_SPORADIC`

Noah Goldstein via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 13 13:28:04 PDT 2023


goldstein.w.n added inline comments.


================
Comment at: libc/include/llvm-libc-macros/sched-macros.h:16
+#define SCHED_FIFO 1
+#define SCHED_RR 2
+// Not yet implemented SCHED_SPORADIC
----------------
sivachandra wrote:
> I missed this last time: These definitions are also based on `linux/sched.h` so they should stay in `linux/sched-macros.h`?
> I missed this last time: These definitions are also based on `linux/sched.h` so they should stay in `linux/sched-macros.h`?

Yeah that's probably best. The reason I put them in generic is they are required for POSIX, not Linux extensions.




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148069



More information about the libc-commits mailing list