mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
Do not set sigmask for thread in standalone service
This commit is contained in:
parent
72df07c551
commit
140f4f9f97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user