diff --git a/src/c/threads/process.d b/src/c/threads/process.d index 0d9dced36..082e5d0f7 100755 --- a/src/c/threads/process.d +++ b/src/c/threads/process.d @@ -208,7 +208,7 @@ thread_cleanup(void *aux) { sigset_t new[1]; sigemptyset(new); - sigaddset(new, ecl_option_values[ECL_OPT_SIGNAL_HANDLING_THREAD]); + sigaddset(new, ecl_option_values[ECL_OPT_THREAD_INTERRUPT_SIGNAL]); pthread_sigmask(SIG_BLOCK, new, NULL); } #endif