diff options
Diffstat (limited to 'pthread_support.c')
-rw-r--r-- | pthread_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c index ca455d76..4dad56ff 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -1144,7 +1144,7 @@ GC_INNER void GC_init_parallel(void) INIT_REAL_SYMS(); if (set != NULL && (how == SIG_BLOCK || how == SIG_SETMASK)) { fudged_set = *set; - sigdelset(&fudged_set, SIG_SUSPEND); + sigdelset(&fudged_set, GC_get_suspend_signal()); set = &fudged_set; } return(REAL_FUNC(pthread_sigmask)(how, set, oset)); |