]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: move __pthread_setup into libc.
authorgfleury <gfleury@disroot.org>
Fri, 15 Aug 2025 18:14:59 +0000 (20:14 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 15 Aug 2025 23:44:51 +0000 (01:44 +0200)
Message-ID: <20250815181500.107433-19-gfleury@disroot.org>

htl/Makefile
htl/Versions
htl/pt-internal.h
sysdeps/mach/hurd/i386/htl/pt-setup.c
sysdeps/mach/hurd/x86_64/htl/pt-setup.c

index ab78372da749080f2352f71630e134efa0108908..995bcefbfc407eccf7da270dca9dc06376633fd5 100644 (file)
@@ -32,7 +32,6 @@ libpthread-routines := \
   pt-hurd-cond-timedwait \
   pt-startup \
   pt-sysdep \
-  pt-setup \
   pt-spin \
   pt-getname-np \
   pt-setname-np \
@@ -198,6 +197,7 @@ routines := \
   pt-setschedparam \
   pt-setschedprio \
   pt-setspecific \
+  pt-setup \
   pt-sigmask \
   pt-sigstate \
   pt-sigstate-destroy \
index 1c7e82c1d3fefcf7921694aafa87bcedc342c80f..31456186c81fc1a9f1be19473fd13f1887fa7096 100644 (file)
@@ -270,6 +270,7 @@ libc {
     __pthread_mutexattr_settype;
     __pthread_once;
     __pthread_setspecific;
+    __pthread_setup;
     __pthread_sigstate_init;
     __pthread_sigstate;
     __pthread_sigstate_destroy;
index 24d0964ebfa3163e79dadf34ba5273749db1ca28..f816aca2821da252f7f093e135eccf97d27e9dc0 100644 (file)
@@ -242,7 +242,7 @@ extern int __pthread_setup (struct __pthread *__restrict thread,
                                                 void *),
                            void *(*start_routine) (void *),
                            void *__restrict arg);
-
+libc_hidden_proto (__pthread_setup)
 
 /* Allocate a kernel thread (and any miscellaneous system dependent
    resources) for THREAD; it must not be placed on the run queue.  */
index c6df0101cf7150b04c05ae3612c3aa9c576ad819..b9c41b9e6e112b8b8b438c910ebe19fd99d14b7f 100644 (file)
@@ -98,3 +98,4 @@ __pthread_setup (struct __pthread *thread,
 
   return 0;
 }
+libc_hidden_def (__pthread_setup)
index 76a4394332917daa4e931268752264151c11bb0e..88c39b789934583cbb1da8a4546a5a111beb7841 100644 (file)
@@ -91,3 +91,4 @@ __pthread_setup (struct __pthread *thread,
 
   return 0;
 }
+libc_hidden_def (__pthread_setup)