SIGALRM not caught in mainloop_poll()

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

Hello,

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:

http://spork.qfe3.net/pen/pen_signals_chrise_20051213.diff

-- 
Chris
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