]> Git Repo - qemu.git/blobdiff - main-loop.c
misc: fix typos in copyright declaration
[qemu.git] / main-loop.c
index 53393a4b18e6663ebeaab2f56b99e136b02cef1e..981bcb5f8e2ea9ff898aa2ccd74e3c5ef87bdf9e 100644 (file)
@@ -84,6 +84,11 @@ static int qemu_signal_init(void)
     sigaddset(&set, SIGIO);
     sigaddset(&set, SIGALRM);
     sigaddset(&set, SIGBUS);
+    /* SIGINT cannot be handled via signalfd, so that ^C can be used
+     * to interrupt QEMU when it is being run under gdb.  SIGHUP and
+     * SIGTERM are also handled asynchronously, even though it is not
+     * strictly necessary, because they use the same handler as SIGINT.
+     */
     pthread_sigmask(SIG_BLOCK, &set, NULL);
 
     sigdelset(&set, SIG_IPI);
This page took 0.023307 seconds and 4 git commands to generate.