瀏覽代碼

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

"Steven J. Hill" 19 年之前
父節點
當前提交
57a205846f
共有 1 個文件被更改,包括 4 次插入0 次删除
  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