[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
Tue Apr 11 22:31:50 PDT 2023


goldstein.w.n created this revision.
Herald added subscribers: libc-commits, luke, frasercrmck, ecnelises, luismarques, apazos, sameer.abuasal, tschuett, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, javed.absar.
Herald added projects: libc-project, All.
goldstein.w.n requested review of this revision.
Herald added a subscriber: pcwang-thead.

Includes macros:

  SCHED_OTHER
  SCHED_FIFO
  SCHED_RR
  linux/SCHED_BATCH
  linux/SCHED_ISO
  linux/SCHED_IDLE
  linux/SCHED_DEADLINE

Includes types:

  struct sched_param { int sched_priority; }

Includes functions:

  sched_setparam
  sched_getparam
  sched_setscheduler
  sched_getscheduler
  sched_get_priority_max
  sched_get_priority_min
  sched_rr_get_interval


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148069

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/riscv64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/include/llvm-libc-macros/linux/sched-macros.h
  libc/include/llvm-libc-macros/sched-macros.h
  libc/include/llvm-libc-types/struct_sched_param.h
  libc/spec/linux.td
  libc/spec/posix.td
  libc/src/sched/CMakeLists.txt
  libc/src/sched/linux/CMakeLists.txt
  libc/src/sched/linux/sched_get_priority_max.cpp
  libc/src/sched/linux/sched_get_priority_min.cpp
  libc/src/sched/linux/sched_getparam.cpp
  libc/src/sched/linux/sched_getscheduler.cpp
  libc/src/sched/linux/sched_rr_get_interval.cpp
  libc/src/sched/linux/sched_setparam.cpp
  libc/src/sched/linux/sched_setscheduler.cpp
  libc/src/sched/sched_get_priority_max.h
  libc/src/sched/sched_get_priority_min.h
  libc/src/sched/sched_getparam.h
  libc/src/sched/sched_getscheduler.h
  libc/src/sched/sched_rr_get_interval.h
  libc/src/sched/sched_setparam.h
  libc/src/sched/sched_setscheduler.h
  libc/test/src/sched/CMakeLists.txt
  libc/test/src/sched/get_priority_test.cpp
  libc/test/src/sched/param_and_scheduler_test.cpp
  libc/test/src/sched/rr_get_interval_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148069.512658.patch
Type: text/x-patch
Size: 35506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230412/876f3ab5/attachment-0001.bin>


More information about the libc-commits mailing list