We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3fc0b commit 1df31acCopy full SHA for 1df31ac
src/task.c
@@ -29,6 +29,7 @@
29
#include <stdlib.h>
30
#include <string.h>
31
#include <signal.h>
32
+#include <unistd.h>
33
#include <errno.h>
34
#include <inttypes.h>
35
#include "julia.h"
@@ -67,7 +68,7 @@ static inline void tsan_switch_to_ctx(void *state) {
67
68
69
// empirically, jl_finish_task needs about 64k stack space to infer/run
70
// and additionally, gc-stack reserves 64k for the guard pages
-#if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072
71
+#if defined(MINSIGSTKSZ)
72
#define MINSTKSZ MINSIGSTKSZ
73
#else
74
#define MINSTKSZ 131072
0 commit comments