Improve multithreading support for OneService (faster, dynamic adjustment of thread count based on HW concurrency).
This commit is contained in:
2
one.cpp
2
one.cpp
@@ -1354,12 +1354,14 @@ int main(int argc,char **argv)
|
||||
#ifdef __UNIX_LIKE__
|
||||
signal(SIGHUP,&_sighandlerHup);
|
||||
signal(SIGPIPE,SIG_IGN);
|
||||
signal(SIGIO,SIG_IGN);
|
||||
signal(SIGUSR1,SIG_IGN);
|
||||
signal(SIGUSR2,SIG_IGN);
|
||||
signal(SIGALRM,SIG_IGN);
|
||||
signal(SIGINT,&_sighandlerQuit);
|
||||
signal(SIGTERM,&_sighandlerQuit);
|
||||
signal(SIGQUIT,&_sighandlerQuit);
|
||||
signal(SIGINT,&_sighandlerQuit);
|
||||
|
||||
/* Ensure that there are no inherited file descriptors open from a previous
|
||||
* incarnation. This is a hack to ensure that GitHub issue #61 or variants
|
||||
|
||||
Reference in New Issue
Block a user