diff options
author | Roland McGrath <roland@gnu.org> | 2003-04-02 00:11:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-04-02 00:11:05 +0000 |
commit | 9a197dcc6a93d7938bede6ca85fd1f769424cf17 (patch) | |
tree | b369b79b99a6a3869ae2c08bba80b81a7c46f095 /linuxthreads/pthread.c | |
parent | de58be8a098dfb710f0b6167c8fabc265f2920de (diff) | |
download | glibc-9a197dcc6a93d7938bede6ca85fd1f769424cf17.tar.gz glibc-9a197dcc6a93d7938bede6ca85fd1f769424cf17.tar.xz glibc-9a197dcc6a93d7938bede6ca85fd1f769424cf17.zip |
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
IA-64 version.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r-- | linuxthreads/pthread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 01be30ba12..f165ab1093 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -1144,7 +1144,8 @@ void __pthread_wait_for_restart_signal(pthread_descr self) sigdelset(&mask, __pthread_sig_restart); /* Unblock the restart signal */ THREAD_SETMEM(self, p_signal, 0); do { - sigsuspend(&mask); /* Wait for signal */ + __pthread_sigsuspend(&mask); /* Wait for signal. Must not be a + cancellation point. */ } while (THREAD_GETMEM(self, p_signal) !=__pthread_sig_restart); READ_MEMORY_BARRIER(); /* See comment in __pthread_restart_new */ |