From: Markos Chandras <[email protected]>

On architectures that don't provide __NR_pause, __pause_nocancel is
needed when wanting to perform an uncancelable pause.

Signed-off-by: Markos Chandras <[email protected]>
---
 libc/sysdeps/linux/common/pause.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/sysdeps/linux/common/pause.c 
b/libc/sysdeps/linux/common/pause.c
index ab16fa7..036f6a3 100644
--- a/libc/sysdeps/linux/common/pause.c
+++ b/libc/sysdeps/linux/common/pause.c
@@ -34,6 +34,7 @@ __libc_pause (void)
   return sigsuspend (&set);
 }
 weak_alias (__libc_pause, pause)
+weak_alias (__libc_pause, __pause_nocancel)
 
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__
 LIBC_CANCEL_HANDLED ();                /* sigsuspend handles our cancellation. 
 */
-- 
1.8.0


_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to