mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
htl: move pthread_attr_getdetachstate into libc
Signed-off-by: Guy-Fleury Iteriteka <gfleury@disroot.org> Message-Id: <20230716084414.107245-10-gfleury@disroot.org>
This commit is contained in:
parent
c2c9feebdc
commit
92a6c26470
@ -24,7 +24,7 @@ SYSDEPS := lockfile
|
|||||||
|
|
||||||
LCLHDRS :=
|
LCLHDRS :=
|
||||||
|
|
||||||
libpthread-routines := pt-attr pt-attr-destroy pt-attr-getdetachstate \
|
libpthread-routines := pt-attr pt-attr-destroy \
|
||||||
pt-attr-getguardsize \
|
pt-attr-getguardsize \
|
||||||
pt-attr-getscope \
|
pt-attr-getscope \
|
||||||
pt-attr-getstack pt-attr-getstackaddr pt-attr-getstacksize \
|
pt-attr-getstack pt-attr-getstackaddr pt-attr-getstacksize \
|
||||||
@ -166,7 +166,7 @@ distribute :=
|
|||||||
|
|
||||||
routines := forward libc_pthread_init alloca_cutoff htlfreeres pt-nthreads pt-pthread_self pt-self pt-equal \
|
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-attr-getinheritsched \
|
pt-getschedparam pt-setschedparam pt-attr-getschedparam pt-attr-getinheritsched \
|
||||||
pt-attr-setinheritsched pt-attr-getschedpolicy pt-attr-setschedpolicy
|
pt-attr-setinheritsched pt-attr-getschedpolicy pt-attr-setschedpolicy pt-attr-getdetachstate
|
||||||
shared-only-routines = forward
|
shared-only-routines = forward
|
||||||
|
|
||||||
extra-libs := libpthread
|
extra-libs := libpthread
|
||||||
|
@ -66,7 +66,7 @@ libpthread {
|
|||||||
|
|
||||||
pthread_atfork;
|
pthread_atfork;
|
||||||
|
|
||||||
pthread_attr_destroy; pthread_attr_getdetachstate;
|
pthread_attr_destroy;
|
||||||
pthread_attr_getguardsize;
|
pthread_attr_getguardsize;
|
||||||
pthread_attr_getscope; pthread_attr_getstack; pthread_attr_getstackaddr;
|
pthread_attr_getscope; pthread_attr_getstack; pthread_attr_getstackaddr;
|
||||||
pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate;
|
pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate;
|
||||||
|
@ -57,9 +57,6 @@ FORWARD (pthread_attr_destroy, (pthread_attr_t *attr), (attr), 0)
|
|||||||
|
|
||||||
FORWARD (pthread_attr_init, (pthread_attr_t *attr), (attr), 0)
|
FORWARD (pthread_attr_init, (pthread_attr_t *attr), (attr), 0)
|
||||||
|
|
||||||
FORWARD (pthread_attr_getdetachstate,
|
|
||||||
(const pthread_attr_t *attr, int *detachstate), (attr, detachstate),
|
|
||||||
0)
|
|
||||||
FORWARD (pthread_attr_setdetachstate, (pthread_attr_t *attr, int detachstate),
|
FORWARD (pthread_attr_setdetachstate, (pthread_attr_t *attr, int detachstate),
|
||||||
(attr, detachstate), 0)
|
(attr, detachstate), 0)
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
static const struct pthread_functions pthread_functions = {
|
static const struct pthread_functions pthread_functions = {
|
||||||
.ptr_pthread_attr_destroy = __pthread_attr_destroy,
|
.ptr_pthread_attr_destroy = __pthread_attr_destroy,
|
||||||
.ptr_pthread_attr_init = __pthread_attr_init,
|
.ptr_pthread_attr_init = __pthread_attr_init,
|
||||||
.ptr_pthread_attr_getdetachstate = __pthread_attr_getdetachstate,
|
|
||||||
.ptr_pthread_attr_setdetachstate = __pthread_attr_setdetachstate,
|
.ptr_pthread_attr_setdetachstate = __pthread_attr_setdetachstate,
|
||||||
.ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam,
|
.ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam,
|
||||||
.ptr_pthread_attr_getscope = __pthread_attr_getscope,
|
.ptr_pthread_attr_getscope = __pthread_attr_getscope,
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
int __pthread_attr_destroy (pthread_attr_t *);
|
int __pthread_attr_destroy (pthread_attr_t *);
|
||||||
int __pthread_attr_init (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_setdetachstate (pthread_attr_t *, int);
|
||||||
int __pthread_attr_setschedparam (pthread_attr_t *,
|
int __pthread_attr_setschedparam (pthread_attr_t *,
|
||||||
const struct sched_param *);
|
const struct sched_param *);
|
||||||
@ -68,7 +67,6 @@ struct pthread_functions
|
|||||||
{
|
{
|
||||||
int (*ptr_pthread_attr_destroy) (pthread_attr_t *);
|
int (*ptr_pthread_attr_destroy) (pthread_attr_t *);
|
||||||
int (*ptr_pthread_attr_init) (pthread_attr_t *);
|
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_setdetachstate) (pthread_attr_t *, int);
|
||||||
int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
|
int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
|
||||||
const struct sched_param *);
|
const struct sched_param *);
|
||||||
|
@ -23,7 +23,6 @@ GLIBC_2.12 ftrylockfile F
|
|||||||
GLIBC_2.12 funlockfile F
|
GLIBC_2.12 funlockfile F
|
||||||
GLIBC_2.12 pthread_atfork F
|
GLIBC_2.12 pthread_atfork F
|
||||||
GLIBC_2.12 pthread_attr_destroy 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_getguardsize F
|
||||||
GLIBC_2.12 pthread_attr_getscope F
|
GLIBC_2.12 pthread_attr_getscope F
|
||||||
GLIBC_2.12 pthread_attr_getstack F
|
GLIBC_2.12 pthread_attr_getstack F
|
||||||
|
@ -40,7 +40,6 @@ GLIBC_2.38 mtx_timedlock F
|
|||||||
GLIBC_2.38 mtx_trylock F
|
GLIBC_2.38 mtx_trylock F
|
||||||
GLIBC_2.38 mtx_unlock F
|
GLIBC_2.38 mtx_unlock F
|
||||||
GLIBC_2.38 pthread_attr_destroy 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_getguardsize F
|
||||||
GLIBC_2.38 pthread_attr_getscope F
|
GLIBC_2.38 pthread_attr_getscope F
|
||||||
GLIBC_2.38 pthread_attr_getstack F
|
GLIBC_2.38 pthread_attr_getstack F
|
||||||
|
Loading…
Reference in New Issue
Block a user