SIGALRM not caught in mainloop_poll()

From: Chris Elsworth <>
Date: Wed, 14 Dec 2005 00:01:23 +0000


Further to my modifications of pen in mainloop_poll() yesterday, we've
noticed that the SIGALRM handler is initialised only in
mainloop_select(), and not mainloop_poll(). This leads to pen dying
with 'Alarm clock' if a backend server ever fails.

I couldn't see much point in doing it all twice, so I moved the
instructions from mainloop_* into main() before the chosen mainloop is
called, as per patch:

Received on Wed Dec 14 2005 - 01:01:24 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 14 2005 - 01:01:26 CET