htl: move pthread_attr_getinheritsched into libc

Signed-off-by: Guy-Fleury Iteriteka <gfleury@disroot.org>
Message-Id: <20230716084414.107245-6-gfleury@disroot.org>
This commit is contained in:
Guy-Fleury Iteriteka 2023-07-16 10:44:09 +02:00 committed by Samuel Thibault
parent 79de1a0ca2
commit 62cf5d2bb3
7 changed files with 3 additions and 10 deletions

View File

@ -25,7 +25,7 @@ SYSDEPS := lockfile
LCLHDRS :=
libpthread-routines := pt-attr pt-attr-destroy pt-attr-getdetachstate \
pt-attr-getguardsize pt-attr-getinheritsched \
pt-attr-getguardsize \
pt-attr-getschedpolicy pt-attr-getscope \
pt-attr-getstack pt-attr-getstackaddr pt-attr-getstacksize \
pt-attr-init pt-attr-setdetachstate pt-attr-setguardsize \
@ -165,7 +165,7 @@ headers := \
distribute :=
routines := forward libc_pthread_init alloca_cutoff htlfreeres pt-nthreads pt-pthread_self pt-self pt-equal \
pt-getschedparam pt-setschedparam pt-attr-getschedparam
pt-getschedparam pt-setschedparam pt-attr-getschedparam pt-attr-getinheritsched
shared-only-routines = forward
extra-libs := libpthread

View File

@ -67,7 +67,7 @@ libpthread {
pthread_atfork;
pthread_attr_destroy; pthread_attr_getdetachstate;
pthread_attr_getguardsize; pthread_attr_getinheritsched;
pthread_attr_getguardsize;
pthread_attr_getschedpolicy;
pthread_attr_getscope; pthread_attr_getstack; pthread_attr_getstackaddr;
pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate;

View File

@ -63,8 +63,6 @@ FORWARD (pthread_attr_getdetachstate,
FORWARD (pthread_attr_setdetachstate, (pthread_attr_t *attr, int detachstate),
(attr, detachstate), 0)
FORWARD (pthread_attr_getinheritsched,
(const pthread_attr_t *attr, int *inherit), (attr, inherit), 0)
FORWARD (pthread_attr_setinheritsched, (pthread_attr_t *attr, int inherit),
(attr, inherit), 0)

View File

@ -31,7 +31,6 @@ static const struct pthread_functions pthread_functions = {
.ptr_pthread_attr_init = __pthread_attr_init,
.ptr_pthread_attr_getdetachstate = __pthread_attr_getdetachstate,
.ptr_pthread_attr_setdetachstate = __pthread_attr_setdetachstate,
.ptr_pthread_attr_getinheritsched = __pthread_attr_getinheritsched,
.ptr_pthread_attr_setinheritsched = __pthread_attr_setinheritsched,
.ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam,
.ptr_pthread_attr_getschedpolicy = __pthread_attr_getschedpolicy,

View File

@ -25,7 +25,6 @@ int __pthread_attr_destroy (pthread_attr_t *);
int __pthread_attr_init (pthread_attr_t *);
int __pthread_attr_getdetachstate (const pthread_attr_t *, int *);
int __pthread_attr_setdetachstate (pthread_attr_t *, int);
int __pthread_attr_getinheritsched (const pthread_attr_t *, int *);
int __pthread_attr_setinheritsched (pthread_attr_t *, int);
int __pthread_attr_setschedparam (pthread_attr_t *,
const struct sched_param *);
@ -74,7 +73,6 @@ struct pthread_functions
int (*ptr_pthread_attr_init) (pthread_attr_t *);
int (*ptr_pthread_attr_getdetachstate) (const pthread_attr_t *, int *);
int (*ptr_pthread_attr_setdetachstate) (pthread_attr_t *, int);
int (*ptr_pthread_attr_getinheritsched) (const pthread_attr_t *, int *);
int (*ptr_pthread_attr_setinheritsched) (pthread_attr_t *, int);
int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
const struct sched_param *);

View File

@ -25,7 +25,6 @@ GLIBC_2.12 pthread_atfork F
GLIBC_2.12 pthread_attr_destroy F
GLIBC_2.12 pthread_attr_getdetachstate F
GLIBC_2.12 pthread_attr_getguardsize F
GLIBC_2.12 pthread_attr_getinheritsched F
GLIBC_2.12 pthread_attr_getschedpolicy F
GLIBC_2.12 pthread_attr_getscope F
GLIBC_2.12 pthread_attr_getstack F

View File

@ -42,7 +42,6 @@ GLIBC_2.38 mtx_unlock F
GLIBC_2.38 pthread_attr_destroy F
GLIBC_2.38 pthread_attr_getdetachstate F
GLIBC_2.38 pthread_attr_getguardsize F
GLIBC_2.38 pthread_attr_getinheritsched F
GLIBC_2.38 pthread_attr_getschedpolicy F
GLIBC_2.38 pthread_attr_getscope F
GLIBC_2.38 pthread_attr_getstack F