Commit 1159b759 authored by jonas@eel.(none)'s avatar jonas@eel.(none)

ndb - bug#11623 - "ndb become inresponsive but did not really die"

  block signals in threads making main process get all signals...
parent 32a3dd85
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment