-
Committer:
jan.kneschke at oracle
-
Date:
2012-06-12 09:49:06 UTC
-
Revision ID:
jan.kneschke@oracle.com-20120612094906-i673fj2zldreyjc1
moved signal handling for SIGTERM, SIGINT and SIGHUP into its own thread
- sigprocmask()'s behaviour in multi-threaded enviroments is undefined
- pthread_sigmask() has to be used instead
- signal init has to be done before the plugins are loaded and more
threads are initialized inheriting the procmask of the parent