X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xshogi%2Fxshogi.c;fp=xshogi%2Fxshogi.c;h=f6317ddc0feecc1f479a9f51343989627f3b9c5a;hb=00e10bc4a760150665436b17c50abf264f28d435;hp=1d998d641f1ec12646cc62e67adb3d4840c953f3;hpb=9167c0e40628c12ae7b0f0ff679f285d53d253ae;p=gnushogi.git diff --git a/xshogi/xshogi.c b/xshogi/xshogi.c index 1d998d6..f6317dd 100644 --- a/xshogi/xshogi.c +++ b/xshogi/xshogi.c @@ -7131,7 +7131,7 @@ void DisplayTitle(char *title) /* CHECKME: does this work? - * This routine sends a SIGINT (^C interrupt) to gnushogi to awaken it + * This routine sends a SIGUSR1 to gnushogi to awaken it * if it might be busy thinking on our time. This normally isn't needed, * but is useful on systems where the FIONREAD ioctl doesn't work since * on those systems the gnushogi feature that lets you interrupt its thinking @@ -7159,11 +7159,11 @@ Attention(int pid) { if (xshogiDebug || localPlayer.appData.debugMode) { - fprintf(stderr, "Sending SIGINT to %s\n", + fprintf(stderr, "Sending SIGUSR1 to %s\n", ((pid == firstProgramPID) ? "first" : "second")); } - (void)kill(pid, SIGINT); /* stop it thinking */ + (void)kill(pid, SIGUSR1); /* stop it thinking */ } break;