From d3e4cb5442ce4089bb92a4ecaad469f5724321e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Tue, 19 Sep 2023 09:32:40 +0200 Subject: [PATCH] main: fix ECL_OPT_SIGNAL_HANDLING_THREAD to be adequate unixint ignores the flag that enables the signal handling thread when it can't create one. --- src/c/main.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/c/main.d b/src/c/main.d index fbaae6674..7794f3f84 100644 --- a/src/c/main.d +++ b/src/c/main.d @@ -83,7 +83,11 @@ cl_fixnum ecl_option_values[ECL_OPT_LIMIT+1] = { 1, /* ECL_OPT_TRAP_SIGBUS */ 1, /* ECL_OPT_TRAP_SIGPIPE */ 1, /* ECL_OPT_TRAP_INTERRUPT_SIGNAL */ +#if defined(ECL_THREADS) && defined(HAVE_SIGPROCMASK) 1, /* ECL_OPT_SIGNAL_HANDLING_THREAD */ +#else + 0, /* ECL_OPT_SIGNAL_HANDLING_THREAD */ +#endif 16, /* ECL_OPT_SIGNAL_QUEUE_SIZE */ 0, /* ECL_OPT_BOOTED */ 8192, /* ECL_OPT_BIND_STACK_SIZE */