diff options
author | Christian Franke <christian.franke@t-online.de> | 2024-12-16 17:32:55 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-12-17 17:39:00 +0100 |
commit | efa5401ea998ee01d79c63449f51cd36df938f42 (patch) | |
tree | 2bb1f799895539787b0b6e3ed5f797d164a78316 /config.sub | |
parent | 14dda1f59871a12eb8e43141bf79d1dd89341ce2 (diff) | |
download | newlib-efa5401ea998ee01d79c63449f51cd36df938f42.zip newlib-efa5401ea998ee01d79c63449f51cd36df938f42.tar.gz newlib-efa5401ea998ee01d79c63449f51cd36df938f42.tar.bz2 |
Cygwin: /proc/<PID>/stat: set field (18) according to scheduling policy
If a realtime policy is selected, set the '(18) priority' field to the
negated sched_priority minus one. If SCHED_IDLE is selected, set it to
the lowest priority 39. Also set '(19) nice' to the originally requested
nice value. Ensure consistence with the current Windows priority in all
cases. Move the sched_priority from/to Windows priority mapping from
sched_get/setparam() to new functions in miscfuncs.cc.
Signed-off-by: Christian Franke <christian.franke@t-online.de>
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions