ignore real-time signals by default, unless explicitly set

This commit is contained in:
Nihal Jere 2021-02-19 15:04:06 -06:00
parent 747067e64e
commit 9cd6f02395

View file

@ -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)