Opened 6 weeks ago
Last modified 6 weeks ago
#19308 new enhancement
SCHED_FIFO implementation support
Reported by: | cocobean | Owned by: | nobody |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Provide scheduler support for SCHED_FIFO as defined in the POSIX.1-2001 standard. Implementation is optional for POSIX conformance.
"For this policy, valid priorities shall be within the range returned by the sched_get_priority_max() and sched_get_priority_min() functions when SCHED_FIFO is provided as the parameter. Conforming implementations shall provide a priority range of at least 32 priorities for this policy."
URL: https://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_08.html
Note:
See TracTickets
for help on using tickets.
I don't know if we really want to support this, or any of the scheduling policies, actually. They're an extra burden to support, and for a desktop OS don't necessarily make sense to support, anyway. We should let the kernel scheduler do "whatever makes sense" rather than just whatever POSIX optionally specifies.