]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: move __pthread_wakeup into libc.
authorgfleury <gfleury@disroot.org>
Thu, 19 Dec 2024 20:37:21 +0000 (22:37 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 22 Dec 2024 22:34:27 +0000 (23:34 +0100)
Signed-off-by: gfleury <gfleury@disroot.org>
Message-ID: <20241219203727.669825-3-gfleury@disroot.org>

htl/Makefile
htl/Versions
htl/pt-internal.h
sysdeps/mach/htl/pt-wakeup.c

index 8dee043975df47ec55c487ea1552a68fc9598537..168b211905e20c1a1a77ce38d7573a8e9e1b12aa 100644 (file)
@@ -109,7 +109,6 @@ libpthread-routines := \
   pt-timedblock \
   pt-block-intr \
   pt-timedblock-intr \
-  pt-wakeup \
   pt-docancel \
   pt-sysdep \
   pt-setup \
@@ -211,6 +210,7 @@ routines := \
   pt-sigmask \
   pt-sigstate \
   pt-sigstate-destroy \
+  pt-wakeup \
   # routines
 shared-only-routines = forward
 
index 02d655d6bd946901d99b4f9bb247e3b370159172..996626df2f7c01b20b20371d1a8333b47fc712b7 100644 (file)
@@ -101,6 +101,7 @@ libc {
     __pthread_sigstate;
     __pthread_sigstate_destroy;
     __pthread_sigmask;
+    __pthread_wakeup;
   }
 }
 
index 2b4331a6c04b23e10385a833871d1db6c01cb74f..de459d7380a9a65cf89faad21917469c46d7bedd 100644 (file)
@@ -283,7 +283,7 @@ extern error_t __pthread_timedblock_intr (struct __pthread *__restrict thread,
 
 /* Wakeup THREAD.  */
 extern void __pthread_wakeup (struct __pthread *thread);
-
+libc_hidden_proto (__pthread_wakeup)
 
 /* Perform a cancelation.  The CANCEL_LOCK member of the given thread must
    be locked before calling this function, which must unlock it.  */
index c7c0c3ba5b966f92abde10760ea89053abb94ebe..2855bcb1e5b6b3cffa5ca64eb4b3e92dfc5a2842 100644 (file)
@@ -35,3 +35,4 @@ __pthread_wakeup (struct __pthread *thread)
                    0, MACH_PORT_NULL);
   assert_perror (err);
 }
+libc_hidden_def (__pthread_wakeup)