Loading ndb/src/common/portlib/NdbThread.c +10 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,16 @@ ndb_thread_wrapper(void* _ss){ pthread_sigmask(SIG_BLOCK, &mask, 0); } #endif { /** * Block all signals to thread by default * let them go to main process instead */ sigset_t mask; sigfillset(&mask); pthread_sigmask(SIG_BLOCK, &mask, 0); } { void *ret; struct NdbThread * ss = (struct NdbThread *)_ss; Loading Loading
ndb/src/common/portlib/NdbThread.c +10 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,16 @@ ndb_thread_wrapper(void* _ss){ pthread_sigmask(SIG_BLOCK, &mask, 0); } #endif { /** * Block all signals to thread by default * let them go to main process instead */ sigset_t mask; sigfillset(&mask); pthread_sigmask(SIG_BLOCK, &mask, 0); } { void *ret; struct NdbThread * ss = (struct NdbThread *)_ss; Loading