newlib-cygwin/winsup/cygwin/fhandler
Christian Franke efa5401ea9 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>
2024-12-17 17:39:00 +01:00
..
base.cc Cygwin: posix_getdents: do not clear attached DIR structure at fork(2) 2024-03-01 15:32:39 +01:00
clipboard.cc Cygwin: clipboard: Only SEEK_SET and SEEK_CUR are supported 2023-08-09 16:56:02 +02:00
console.cc Cygwin: console: Ignore intermediate byte in CSI sequence 2024-12-08 22:34:17 +09:00
cygdrive.cc
dev.cc
dev_disk.cc Cygwin: /dev/disk: Append '#N' if the same name appears more than once 2023-11-21 19:40:37 +01:00
dev_fd.cc
disk_file.cc cygwin: pread/pwrite: prevent EBADF error after fork() 2024-10-23 11:56:59 +02:00
dsp.cc Cygwin: dsp: Fix incorrect openflags when opening multiple /dev/dsp 2024-06-28 19:54:19 +09:00
fifo.cc Cygwin: accommodate gcc -Og option 2024-02-14 14:00:34 +01:00
floppy.cc
mixer.cc Cygwin: mixer: Fix volume control for no WAVECAPS_LRVOLUME device 2024-06-01 15:23:37 +09:00
mqueue.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
netdrive.cc Cygwin: //: fetch only one item per loop 2024-03-27 21:57:32 +01:00
nodevice.cc
null.cc
pipe.cc Cygwin: pipe: Fix incorrect write length in raw_write() 2024-11-06 17:46:10 +09:00
proc.cc Cygwin: Fix warning about address known to be non-NULL in /proc/locales 2024-08-06 15:17:47 +01:00
process.cc Cygwin: /proc/<PID>/stat: set field (18) according to scheduling policy 2024-12-17 17:39:00 +01:00
process_fd.cc
procnet.cc Cygwin: fhandler_virtual::exists: always set fileid 2024-04-09 17:02:35 +02:00
procsys.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
procsysvipc.cc Cygwin: fhandler_virtual::exists: always set fileid 2024-04-09 17:02:35 +02:00
pty.cc Cygwin: console: Re-fix open() failure on exec() by console owner 2024-11-06 17:46:39 +09:00
random.cc
raw.cc
registry.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
serial.cc Cygwin: globals: make __progname an alias of program_invocation_short_name 2024-01-31 20:11:58 +01:00
signalfd.cc
socket.cc Cygwin: Fix warnings about narrowing conversions of socket ioctls 2024-08-13 19:35:49 +01:00
socket_inet.cc
socket_local.cc
socket_unix.cc
tape.cc Cygwin: Fix warning about narrowing conversions in tape options 2024-08-06 15:17:48 +01:00
termios.cc Cygwin: termios: Trim buffer size for GetConsoleProcessList() 2024-12-04 20:45:42 +09:00
timerfd.cc
virtual.cc Cygwin: fhandler_virtual: move fileid to path_conv member 2024-04-02 14:43:27 +02:00
windows.cc
zero.cc