summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads/pthread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c
index 42127d03e..12ee2fd98 100644
--- a/libpthread/linuxthreads/pthread.c
+++ b/libpthread/linuxthreads/pthread.c
@@ -337,6 +337,9 @@ PDEBUG("block mask = %x\n", mask);
/* Do it early so that user-registered atexit functions are called
before pthread_exit_process. */
on_exit(pthread_exit_process, NULL);
+#ifdef __NR_rt_sigaction
+ __pthread_init_condvar(1);
+#endif
}
void __pthread_initialize(void)