glibc/sysdeps/unix/sysv/linux/csky
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
..
abiv2 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
bits Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
sys Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Implies Linux: Remove generic Implies 2023-02-20 10:21:19 -03:00
Makefile
Versions
arch-syscall.h Update syscall lists for Linux 6.10 2024-07-30 08:48:51 -03:00
c++-types.data
configure configure: Use autoconf 2.71 2023-07-17 10:08:10 -04:00
configure.ac Remove ldd libc4 support 2022-08-04 10:03:45 -03:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
kernel_stat.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ld.abilist Fix glibc 2.34 ABI omission (missing GLIBC_2.34 in dynamic loader) 2022-01-27 18:52:05 +01:00
libBrokenLocale.abilist
libanl.abilist resolv: Move libanl into libc (if libpthread is in libc) 2021-07-02 11:45:00 +02:00
libc.abilist Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
libc_malloc_debug.abilist glibc.malloc.check: Wean away from malloc hooks 2021-07-22 18:38:08 +05:30
libdl.abilist
libm.abilist Implement C23 exp2m1, exp10m1 2024-06-17 16:31:49 +00:00
libpthread.abilist
libresolv.abilist resolv: Move res_query functions into libc 2021-07-19 07:56:57 +02:00
librt.abilist Linux: Move timer_settime, __timer_settime64 from librt to libc 2021-06-28 09:51:01 +02:00
libthread_db.abilist
libutil.abilist login: Move libutil into libc 2021-06-30 08:43:37 +02:00
localplt.data elf: Rework exception handling in the dynamic loader [BZ #25486] 2022-11-03 09:39:31 +01:00
makecontext.c 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 C-SKY: Strip hard float abi from hard float feature. 2023-02-07 16:34:24 +08:00
sigcontextinfo.h 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.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
time64-compat.h