mirror of https://github.com/joan2937/pigpio
signals
This commit is contained in:
parent
c33738a320
commit
5ef7841288
8
pigpio.c
8
pigpio.c
|
@ -5623,21 +5623,21 @@ static void sigHandler(int signum)
|
||||||
case SIGCHLD:
|
case SIGCHLD:
|
||||||
/* Used to notify threads of events */
|
/* Used to notify threads of events */
|
||||||
break;
|
break;
|
||||||
|
/*
|
||||||
default:
|
default:
|
||||||
DBG(DBG_ALWAYS, "Unhandled signal %d, terminating\n", signum);
|
DBG(DBG_ALWAYS, "Unhandled signal %d, terminating\n", signum);
|
||||||
gpioTerminate();
|
gpioTerminate();
|
||||||
exit(-1);
|
exit(-1);*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* exit */
|
/* exit */
|
||||||
|
/*
|
||||||
DBG(DBG_ALWAYS, "Unhandled signal %d, terminating\n", signum);
|
DBG(DBG_ALWAYS, "Unhandled signal %d, terminating\n", signum);
|
||||||
gpioTerminate();
|
gpioTerminate();
|
||||||
exit(-1);
|
exit(-1);*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue