block TERM and INT from all but the main thread. (Pretty much untested; doesn't fix hang-on-SIGINT.)

This commit is contained in:
Eric House 2010-10-04 20:03:19 -07:00
parent 1ff4d67bc0
commit d9ca6f5e11

View file

@ -548,6 +548,7 @@ print_prompt( int socket )
static void*
ctrl_thread_main( void* arg )
{
blockSignals();
int sock = (int)arg;
{