glibc/sysdeps/unix/sysv/linux/hppa
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
sys
Implies
Makefile
Versions
____longjmp_chk.c
arch-syscall.h
atomic-machine.h
c++-types.data
clone.S
errlist-compat-data.h
fanotify_mark.c
getcontext.S
kernel-features.h
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
libc_malloc_debug.abilist
libdl.abilist
libm.abilist
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data
makecontext.c
prlimit64.c
setcontext.S
shlib-versions
sigcontextinfo.h
single-thread.h
socket-constants-time64.h
struct_kernel_msqid64_ds.h
struct_kernel_semid64_ds.h
struct_kernel_shmid64_ds.h
swapcontext.S
syscall_cancel.S
syscalls.list
sysdep.c
sysdep.h
time64-compat.h
ucontext_i.sym
xstatver.h