glibc/sysdeps/unix/sysv/linux/nios2
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
arch-syscall.h
atomic-machine.h
c++-types.data
cacheflush.c
clone.S
configure
configure.ac
getcontext.S
kernel-features.h
kernel_rt_sigframe.h
kernel_sigaction.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
pointer_guard.h
send.c
setcontext.S
shlib-versions
sigcontextinfo.h
swapcontext.S
syscall.S
syscall_cancel.S
sysdep.S
sysdep.h
time64-compat.h
ucontext_i.sym
vfork.S