ignore real-time signals by default, unless explicitly set
This commit is contained in:
parent
747067e64e
commit
9cd6f02395
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,10 @@ void getsigcmds(int signal)
|
|||
void setupsignals()
|
||||
{
|
||||
struct sigaction sa;
|
||||
|
||||
for(int i = SIGRTMIN; i <= SIGRTMAX; i++)
|
||||
signal(i, SIG_IGN);
|
||||
|
||||
for(int i = 0; i < LENGTH(blocks); i++)
|
||||
{
|
||||
if (blocks[i].signal > 0)
|
||||
|
|
Loading…
Reference in a new issue