Don't intercept INT and QUIT signals, and use USR1 instead of QUIT for
authorYann Dirson <ydirson@altern.org>
Mon, 11 Feb 2008 00:46:38 +0000 (01:46 +0100)
committerYann Dirson <ydirson@free.fr>
Sun, 29 Sep 2013 13:39:24 +0000 (15:39 +0200)
commit00e10bc4a760150665436b17c50abf264f28d435
treeb88c766bc5455a52e326ea38396e4057d8fd19ab
parent9167c0e40628c12ae7b0f0ff679f285d53d253ae
Don't intercept INT and QUIT signals, and use USR1 instead of QUIT for
communication.

This braindead use of SIGINT causes problem when a frontend is
interrupted with Ctrl-C: if gnushogi is waiting for input, it would
enter a tight loop trying to read stdin, eating 100% CPU.
gnushogi/commondsp.c
gnushogi/init.c
gnushogi/rawdsp.c
xshogi/xshogi.c