Do not set sigmask for thread in standalone service

This commit is contained in:
z3APA3A 2020-11-13 11:01:14 +03:00
parent 72df07c551
commit 140f4f9f97

View File

@ -61,10 +61,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);