Do not set sigmask for thread in standalone service

This commit is contained in:
z3APA3A 2020-11-13 11:01:14 +03:00
parent a29d2ab66b
commit f64cd475af

View File

@ -58,10 +58,12 @@ void * threadfunc (void *p) {
}
else {
#ifndef WITHMAIN
#ifndef _WIN32
sigset_t mask;
sigfillset(&mask);
if(param->srv->service != S_UDPPM)pthread_sigmask(SIG_SETMASK, &mask, NULL);
#endif
#endif
((struct clientparam *) p)->srv->pf((struct clientparam *)p);