X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ad34d43426a49a050c807a9fffcda0ccf8bb23d2..2e4de7bb1dcdf34bce1769c34c7cd42fb64637e2:/projects/stargazer/eventloop.cpp?ds=inline diff --git a/projects/stargazer/eventloop.cpp b/projects/stargazer/eventloop.cpp index dd17de9b..6cc59c94 100644 --- a/projects/stargazer/eventloop.cpp +++ b/projects/stargazer/eventloop.cpp @@ -1,3 +1,4 @@ +#include #include #include @@ -53,6 +54,10 @@ return NULL; void EVENT_LOOP::Runner() { +sigset_t signalSet; +sigfillset(&signalSet); +pthread_sigmask(SIG_BLOCK, &signalSet, NULL); + _stopped = false; printfd(__FILE__, "EVENT_LOOP::Runner - Before start\n"); while (_running)