glibc/sysdeps/unix/sysv/linux/s390
Florian Weimer 21571ca0d7 Linux: Add the sched_setattr and sched_getattr functions
And struct sched_attr.

In sysdeps/unix/sysv/linux/bits/sched.h, the hack that defines
sched_param around the inclusion of <linux/sched/types.h> is quite
ugly, but the definition of struct sched_param has already been
dropped by the kernel, so there is nothing else we can do and maintain
compatibility of <sched.h> with a wide range of kernel header
versions.  (An alternative would involve introducing a separate header
for this functionality, but this seems unnecessary.)

The existing sched_* functions that change scheduler parameters
are already incompatible with PTHREAD_PRIO_PROTECT mutexes, so
there is no harm in adding more functionality in this area.

The documentation mostly defers to the Linux manual pages.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-09-11 10:05:08 +02:00
..
bits
fpu
s390-32 Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
s390-64 Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
sys
Implies
Makefile
Versions
configure
configure.ac
dl-cache.h
dl-procinfo.h
elision-conf.c
elision-conf.h
elision-lock.c
elision-timed.c
elision-trylock.c
elision-unlock.c
htm.h
ipc_priv.h
jmp-unwind.c
kernel-features.h
kernel_sigaction.h
ldconfig.h
ldd-rewrite.sed
libpthread-compat.c
localplt.data
longjmp_chk.c
mmap_call.h
nldbl-abi.h
readelflib.c
rt-sysdep.S
sa_len.c
sigcontextinfo.h
sysconf.c
sysdep.h
tst-ptrace-singleblock.c
ucontext_i.sym
xstatver.h