summaryrefslogtreecommitdiff
path: root/libc/signal/allocrtsig.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 17:35:34 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 17:35:34 +0000
commit57a205846f6aa847efb3acadeb826c418a3ac6e2 (patch)
tree0e80bea70a433adb615f890111840002cf022c6b /libc/signal/allocrtsig.c
parentb9ff960b2d55d918f6325099617fb4a2edbb7b40 (diff)
The minimum is different for NPTL because of two new signals.
Diffstat (limited to 'libc/signal/allocrtsig.c')
-rw-r--r--libc/signal/allocrtsig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/signal/allocrtsig.c b/libc/signal/allocrtsig.c
index 2102a15ba..0bdbd2842 100644
--- a/libc/signal/allocrtsig.c
+++ b/libc/signal/allocrtsig.c
@@ -32,7 +32,11 @@
static int current_rtmin = -1;
static int current_rtmax = -1;
#else
+# ifdef __UCLIBC_HAS_THREADS_NATIVE__
+static int current_rtmin = __SIGRTMIN + 2;
+# else
static int current_rtmin = __SIGRTMIN;
+# endif
static int current_rtmax = __SIGRTMAX;
#endif