More debugging

This commit is contained in:
Eelco Dolstra 2014-07-24 01:21:26 +02:00
parent 1eb0af7ed5
commit 24c6d992c6

View file

@ -31,6 +31,7 @@ public:
assert(quit);
return; // destructor is asking us to exit
}
fprintf(stderr, "GOT: %d\n", fds[0].revents);
assert(fds[0].revents & POLLHUP);
/* We got POLLHUP, so send an INT signal to the main thread. */
kill(getpid(), SIGINT);