]> sourceware.org Git - glibc.git/commitdiff
htl: move pthread_attr_setdetachstate into libc
authorGuy-Fleury Iteriteka <gfleury@disroot.org>
Sun, 16 Jul 2023 08:44:14 +0000 (10:44 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 23 Aug 2023 23:57:22 +0000 (01:57 +0200)
Signed-off-by: Guy-Fleury Iteriteka <gfleury@disroot.org>
Message-Id: <20230716084414.107245-11-gfleury@disroot.org>

htl/Makefile
htl/Versions
htl/forward.c
htl/pt-initialize.c
sysdeps/htl/pthread-functions.h
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/mach/hurd/x86_64/libpthread.abilist

index 54ec1da039b1ef410acffdbc8449b2317d846382..b32ad830f0b52a8b98eeb7af1b58b00d2317b5d6 100644 (file)
@@ -28,7 +28,7 @@ libpthread-routines := pt-attr pt-attr-destroy                            \
        pt-attr-getguardsize                                                \
        pt-attr-getscope                                                    \
        pt-attr-getstack pt-attr-getstackaddr pt-attr-getstacksize          \
-       pt-attr-init pt-attr-setdetachstate pt-attr-setguardsize            \
+       pt-attr-init pt-attr-setguardsize                                   \
        pt-attr-setschedparam                                               \
        pt-attr-setscope pt-attr-setstack                                   \
        pt-attr-setstackaddr pt-attr-setstacksize                           \
@@ -166,7 +166,8 @@ 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-attr-getinheritsched                     \
-       pt-attr-setinheritsched pt-attr-getschedpolicy pt-attr-setschedpolicy pt-attr-getdetachstate
+       pt-attr-setinheritsched pt-attr-getschedpolicy pt-attr-setschedpolicy pt-attr-getdetachstate        \
+       pt-attr-setdetachstate
 shared-only-routines = forward
 
 extra-libs := libpthread
index c6568384095da1702e22789d4b7d797598a990f6..710051756a2fd23aa19baeca70d432e3348dd879 100644 (file)
@@ -69,7 +69,7 @@ libpthread {
     pthread_attr_destroy;
     pthread_attr_getguardsize;
     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_setguardsize;
     pthread_attr_setschedparam;
     pthread_attr_setscope; pthread_attr_setstack; pthread_attr_setstackaddr;
index e1511a8c591b689e820e05a37f05ed7f89d3151d..cc8147d6de95d0a7024d9ea1082945a4ecdcfe98 100644 (file)
@@ -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_setdetachstate, (pthread_attr_t *attr, int detachstate),
-        (attr, detachstate), 0)
-
 FORWARD (pthread_attr_setschedparam,
         (pthread_attr_t *attr, const struct sched_param *param),
         (attr, param), 0)
index 0b06ef6c759fc339f859e58a50af6f1da5350822..170e0938f7af8d34e5554e14a008e819e2673dff 100644 (file)
@@ -29,7 +29,6 @@
 static const struct pthread_functions pthread_functions = {
   .ptr_pthread_attr_destroy = __pthread_attr_destroy,
   .ptr_pthread_attr_init = __pthread_attr_init,
-  .ptr_pthread_attr_setdetachstate = __pthread_attr_setdetachstate,
   .ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam,
   .ptr_pthread_attr_getscope = __pthread_attr_getscope,
   .ptr_pthread_attr_setscope = __pthread_attr_setscope,
index c665e4cb0b23e1ebdd85f520d63c2582a51cf7b7..f116434ae1ad3f30a9211cacd2e5664d02c3aade 100644 (file)
@@ -23,7 +23,6 @@
 
 int __pthread_attr_destroy (pthread_attr_t *);
 int __pthread_attr_init (pthread_attr_t *);
-int __pthread_attr_setdetachstate (pthread_attr_t *, int);
 int __pthread_attr_setschedparam (pthread_attr_t *,
                                 const struct sched_param *);
 int __pthread_attr_getscope (const pthread_attr_t *, int *);
@@ -67,7 +66,6 @@ struct pthread_functions
 {
   int (*ptr_pthread_attr_destroy) (pthread_attr_t *);
   int (*ptr_pthread_attr_init) (pthread_attr_t *);
-  int (*ptr_pthread_attr_setdetachstate) (pthread_attr_t *, int);
   int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
                                         const struct sched_param *);
   int (*ptr_pthread_attr_getscope) (const pthread_attr_t *, int *);
index 3ca0c5d52bc074b88da00a220c00d61ad10638c5..fa90cc6597387c3036e3888f1d2758f7ee60320a 100644 (file)
@@ -29,7 +29,6 @@ GLIBC_2.12 pthread_attr_getstack F
 GLIBC_2.12 pthread_attr_getstackaddr F
 GLIBC_2.12 pthread_attr_getstacksize F
 GLIBC_2.12 pthread_attr_init F
-GLIBC_2.12 pthread_attr_setdetachstate F
 GLIBC_2.12 pthread_attr_setguardsize F
 GLIBC_2.12 pthread_attr_setschedparam F
 GLIBC_2.12 pthread_attr_setscope F
index 11ca2fc2889f7353653f608530a6842271a13a1e..80615d16eebb37ab7381360b04ddc4dee5e93a73 100644 (file)
@@ -46,7 +46,6 @@ GLIBC_2.38 pthread_attr_getstack F
 GLIBC_2.38 pthread_attr_getstackaddr F
 GLIBC_2.38 pthread_attr_getstacksize F
 GLIBC_2.38 pthread_attr_init F
-GLIBC_2.38 pthread_attr_setdetachstate F
 GLIBC_2.38 pthread_attr_setguardsize F
 GLIBC_2.38 pthread_attr_setschedparam F
 GLIBC_2.38 pthread_attr_setscope F
This page took 0.050145 seconds and 5 git commands to generate.