From d9ca6f5e1195bfb6f40bbbf505480afe5154ebbc Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 4 Oct 2010 20:03:19 -0700 Subject: [PATCH] block TERM and INT from all but the main thread. (Pretty much untested; doesn't fix hang-on-SIGINT.) --- xwords4/relay/ctrl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/relay/ctrl.cpp b/xwords4/relay/ctrl.cpp index a5b1ce059..477aa3654 100644 --- a/xwords4/relay/ctrl.cpp +++ b/xwords4/relay/ctrl.cpp @@ -548,6 +548,7 @@ print_prompt( int socket ) static void* ctrl_thread_main( void* arg ) { + blockSignals(); int sock = (int)arg; {