Browse Source

The minimum is different for NPTL because of two new signals.

"Steven J. Hill" 19 years ago
parent
commit
57a205846f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libc/signal/allocrtsig.c

+ 4 - 0
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