]> sourceware.org Git - newlib-cygwin.git/commitdiff
Define larger MINSIGSTKSZ and SIGSTKSZ values for Cygwin
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 26 Jun 2015 19:41:26 +0000 (21:41 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 26 Jun 2015 19:41:26 +0000 (21:41 +0200)
* include/cygwin/signal.h: Revert to define MINSIGSTKSZ and SIGSTKSZ
here with bigger values to allow _cygtls to reside on signal stack,
should it turn out to be required at one point.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/ChangeLog
winsup/cygwin/include/cygwin/signal.h

index 060eb8015f0be1f29302cd8f7ceceb4cbab033c0..7f33687ec8c12143fe35a62d2fdc1641c76cb4ef 100644 (file)
@@ -1,3 +1,9 @@
+2015-06-26  Corinna Vinschen  <corinna@vinschen.de>
+
+       * include/cygwin/signal.h: Revert to define MINSIGSTKSZ and SIGSTKSZ
+       here with bigger values to allow _cygtls to reside on signal stack,
+       should it turn out to be required at one point.
+
 2015-06-26  Corinna Vinschen  <corinna@vinschen.de>
 
        * resource.cc (getrlimit): Fix values returned by RLIMIT_STACK.
index 19c8452290132aef92b3500262711d9a78e4d5fb..cdf86b94271a06f263b3f19d53880e0141e1dac7 100644 (file)
@@ -355,6 +355,13 @@ struct sigaction
    Do not use.  */
 #define _SA_INTERNAL_MASK 0xf000       /* bits in this range are internal */
 
+#ifndef        MINSIGSTKSZ
+#define        MINSIGSTKSZ     32768
+#endif
+#ifndef        SIGSTKSZ
+#define        SIGSTKSZ        65536
+#endif
+
 #define        SIGHUP  1       /* hangup */
 #define        SIGINT  2       /* interrupt */
 #define        SIGQUIT 3       /* quit */
This page took 0.033497 seconds and 5 git commands to generate.