glibc/sysdeps/unix/sysv/linux/sh
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
..
be Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
bits Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
le Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
sh3 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sh4 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sys Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Implies
Makefile
Versions Linux: Move wordsize-32 Version to default 2023-02-20 10:19:25 -03:00
____longjmp_chk.S sh: Fix static build with --enable-fortify 2024-01-22 10:04:53 -03:00
adaptive_spin_count.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
arch-syscall.h Update syscall lists for Linux 6.10 2024-07-30 08:48:51 -03:00
atomic-machine.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
c++-types.data
clone.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
configure configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
configure.ac
fanotify_mark.c
kernel-features.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
kernel_sigaction.h
kernel_stat.h
localplt.data
lowlevel-atomic.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
makecontext.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pointer_guard.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shlib-versions
sigaltstack-offsets.sym
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
syscall.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
syscall_cancel.S nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
syscalls.list
sysdep.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sysdep.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
time64-compat.h
vfork.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
xstatver.h Linux: make generic xstatver.h the default one 2022-12-07 14:40:36 -03:00