mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	Do not set sigmask for thread in standalone service
This commit is contained in:
		
							parent
							
								
									a29d2ab66b
								
							
						
					
					
						commit
						f64cd475af
					
				@ -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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user