[PATCH 3/3] Add __pause_nocancel weak alias.
Will Newton
will.newton at gmail.com
Wed Jan 12 12:07:18 UTC 2011
On architectures that don't provide __NR_pause __pause_nocancel is
needed when wanting to perform an uncancelable pause.
Signed-off-by: Matt Fleming <matthew.fleming at imgtec.com>
---
libc/sysdeps/linux/common/pause.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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.7.2.2
More information about the uClibc
mailing list