diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-10-07 15:49:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-10-07 15:49:48 +0200 |
commit | 0caab6638e22a301e8aa0b35f790b15aaf0791d9 (patch) | |
tree | e816389a0615dc2b1ce0710d80d419f5a2472717 /sysdeps | |
parent | 77523d5e43cb5721c23855eb6045b0607a3b30a0 (diff) | |
download | glibc-0caab6638e22a301e8aa0b35f790b15aaf0791d9.tar glibc-0caab6638e22a301e8aa0b35f790b15aaf0791d9.tar.gz glibc-0caab6638e22a301e8aa0b35f790b15aaf0791d9.tar.bz2 glibc-0caab6638e22a301e8aa0b35f790b15aaf0791d9.zip |
nptl: Move pthread_attr_getschedparam implementation into libc
This is part of the libpthread removal project:
<https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
28 files changed, 0 insertions, 29 deletions
diff --git a/sysdeps/nptl/pthread-functions.h b/sysdeps/nptl/pthread-functions.h index 51cf3cf408..4711c68575 100644 --- a/sysdeps/nptl/pthread-functions.h +++ b/sysdeps/nptl/pthread-functions.h @@ -30,8 +30,6 @@ struct xid_command; the thread functions. */ struct pthread_functions { - int (*ptr_pthread_attr_getschedparam) (const pthread_attr_t *, - struct sched_param *); int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *, const struct sched_param *); int (*ptr_pthread_attr_getschedpolicy) (const pthread_attr_t *, int *); diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 311d5c6e57..a065d30900 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.17 pread F GLIBC_2.17 pread64 F GLIBC_2.17 pthread_attr_getaffinity_np F GLIBC_2.17 pthread_attr_getguardsize F -GLIBC_2.17 pthread_attr_getschedparam F GLIBC_2.17 pthread_attr_getschedpolicy F GLIBC_2.17 pthread_attr_getscope F GLIBC_2.17 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index 79a51340f9..c1b9607de1 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 4508a1fe65..b5dbde369e 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -106,7 +106,6 @@ GLIBC_2.4 pread F GLIBC_2.4 pread64 F GLIBC_2.4 pthread_attr_getaffinity_np F GLIBC_2.4 pthread_attr_getguardsize F -GLIBC_2.4 pthread_attr_getschedparam F GLIBC_2.4 pthread_attr_getschedpolicy F GLIBC_2.4 pthread_attr_getscope F GLIBC_2.4 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 4508a1fe65..b5dbde369e 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -106,7 +106,6 @@ GLIBC_2.4 pread F GLIBC_2.4 pread64 F GLIBC_2.4 pthread_attr_getaffinity_np F GLIBC_2.4 pthread_attr_getguardsize F -GLIBC_2.4 pthread_attr_getschedparam F GLIBC_2.4 pthread_attr_getschedpolicy F GLIBC_2.4 pthread_attr_getscope F GLIBC_2.4 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 4917345e13..5406b3b114 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -80,7 +80,6 @@ GLIBC_2.29 pread F GLIBC_2.29 pread64 F GLIBC_2.29 pthread_attr_getaffinity_np F GLIBC_2.29 pthread_attr_getguardsize F -GLIBC_2.29 pthread_attr_getschedparam F GLIBC_2.29 pthread_attr_getschedpolicy F GLIBC_2.29 pthread_attr_getscope F GLIBC_2.29 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index a6096f9bf5..ae35c3c841 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F GLIBC_2.2 pthread_attr_getguardsize F -GLIBC_2.2 pthread_attr_getschedparam F GLIBC_2.2 pthread_attr_getschedpolicy F GLIBC_2.2 pthread_attr_getscope F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index c165acbb8e..4b271e77ff 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index d811361942..c3f4e41186 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F GLIBC_2.2 pthread_attr_getguardsize F -GLIBC_2.2 pthread_attr_getschedparam F GLIBC_2.2 pthread_attr_getschedpolicy F GLIBC_2.2 pthread_attr_getscope F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 4508a1fe65..b5dbde369e 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -106,7 +106,6 @@ GLIBC_2.4 pread F GLIBC_2.4 pread64 F GLIBC_2.4 pthread_attr_getaffinity_np F GLIBC_2.4 pthread_attr_getguardsize F -GLIBC_2.4 pthread_attr_getschedparam F GLIBC_2.4 pthread_attr_getschedpolicy F GLIBC_2.4 pthread_attr_getscope F GLIBC_2.4 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index c165acbb8e..4b271e77ff 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index d688f73006..8dbf738061 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.18 pread F GLIBC_2.18 pread64 F GLIBC_2.18 pthread_attr_getaffinity_np F GLIBC_2.18 pthread_attr_getguardsize F -GLIBC_2.18 pthread_attr_getschedparam F GLIBC_2.18 pthread_attr_getschedpolicy F GLIBC_2.18 pthread_attr_getscope F GLIBC_2.18 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index d688f73006..8dbf738061 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.18 pread F GLIBC_2.18 pread64 F GLIBC_2.18 pthread_attr_getaffinity_np F GLIBC_2.18 pthread_attr_getguardsize F -GLIBC_2.18 pthread_attr_getschedparam F GLIBC_2.18 pthread_attr_getschedpolicy F GLIBC_2.18 pthread_attr_getscope F GLIBC_2.18 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 56fabd82d5..5a2f8fa4ae 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 56fabd82d5..5a2f8fa4ae 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 9cc1586665..29df65dc9c 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.21 pread F GLIBC_2.21 pread64 F GLIBC_2.21 pthread_attr_getaffinity_np F GLIBC_2.21 pthread_attr_getguardsize F -GLIBC_2.21 pthread_attr_getschedparam F GLIBC_2.21 pthread_attr_getschedpolicy F GLIBC_2.21 pthread_attr_getscope F GLIBC_2.21 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 78110ce740..195f7c9191 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 838b1a7b00..672df0909e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -94,7 +94,6 @@ GLIBC_2.3 pause F GLIBC_2.3 pread F GLIBC_2.3 pread64 F GLIBC_2.3 pthread_attr_getguardsize F -GLIBC_2.3 pthread_attr_getschedparam F GLIBC_2.3 pthread_attr_getschedpolicy F GLIBC_2.3 pthread_attr_getscope F GLIBC_2.3 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 311d5c6e57..a065d30900 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.17 pread F GLIBC_2.17 pread64 F GLIBC_2.17 pthread_attr_getaffinity_np F GLIBC_2.17 pthread_attr_getguardsize F -GLIBC_2.17 pthread_attr_getschedparam F GLIBC_2.17 pthread_attr_getschedpolicy F GLIBC_2.17 pthread_attr_getscope F GLIBC_2.17 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 34d7ed25d4..6a7011313d 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -69,7 +69,6 @@ GLIBC_2.27 pread F GLIBC_2.27 pread64 F GLIBC_2.27 pthread_attr_getaffinity_np F GLIBC_2.27 pthread_attr_getguardsize F -GLIBC_2.27 pthread_attr_getschedparam F GLIBC_2.27 pthread_attr_getschedpolicy F GLIBC_2.27 pthread_attr_getscope F GLIBC_2.27 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index de05a5e1e0..a7d2841706 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index fd6ffa737a..2381ca978a 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -75,7 +75,6 @@ GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F GLIBC_2.2 pthread_attr_getguardsize F -GLIBC_2.2 pthread_attr_getschedparam F GLIBC_2.2 pthread_attr_getschedpolicy F GLIBC_2.2 pthread_attr_getscope F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index a6096f9bf5..ae35c3c841 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F GLIBC_2.2 pthread_attr_getguardsize F -GLIBC_2.2 pthread_attr_getschedparam F GLIBC_2.2 pthread_attr_getschedpolicy F GLIBC_2.2 pthread_attr_getscope F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index a6096f9bf5..ae35c3c841 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F GLIBC_2.2 pthread_attr_getguardsize F -GLIBC_2.2 pthread_attr_getschedparam F GLIBC_2.2 pthread_attr_getschedpolicy F GLIBC_2.2 pthread_attr_getscope F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 79a51340f9..c1b9607de1 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -46,7 +46,6 @@ GLIBC_2.0 nanosleep F GLIBC_2.0 open F GLIBC_2.0 pause F GLIBC_2.0 pthread_atfork F -GLIBC_2.0 pthread_attr_getschedparam F GLIBC_2.0 pthread_attr_getschedpolicy F GLIBC_2.0 pthread_attr_getscope F GLIBC_2.0 pthread_attr_setschedparam F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index d811361942..c3f4e41186 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F GLIBC_2.2 pthread_attr_getguardsize F -GLIBC_2.2 pthread_attr_getschedparam F GLIBC_2.2 pthread_attr_getschedpolicy F GLIBC_2.2 pthread_attr_getscope F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index e165035737..87082fabd1 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -73,7 +73,6 @@ GLIBC_2.2.5 pread F GLIBC_2.2.5 pread64 F GLIBC_2.2.5 pthread_atfork F GLIBC_2.2.5 pthread_attr_getguardsize F -GLIBC_2.2.5 pthread_attr_getschedparam F GLIBC_2.2.5 pthread_attr_getschedpolicy F GLIBC_2.2.5 pthread_attr_getscope F GLIBC_2.2.5 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 14b9f377bc..bd45b91265 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -72,7 +72,6 @@ GLIBC_2.16 pread F GLIBC_2.16 pread64 F GLIBC_2.16 pthread_attr_getaffinity_np F GLIBC_2.16 pthread_attr_getguardsize F -GLIBC_2.16 pthread_attr_getschedparam F GLIBC_2.16 pthread_attr_getschedpolicy F GLIBC_2.16 pthread_attr_getscope F GLIBC_2.16 pthread_attr_getstack F |