Re: [exim] Re: Exim 4.42 sleeping "forever"

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Alex Kiernan
CC: exim-users
Assumpte: Re: [exim] Re: Exim 4.42 sleeping "forever"
On Tue, 5 Oct 2004, Alex Kiernan wrote:

> > And what do you do if it fails?
>
> Personally, I'd panic. At least a diagnostic, so we could usefully trap on it.


Yes, perhaps that is best. Noted. Too late for 4.43, whose code has been
frozen and I don't judge it important enough to unfreeze, as it's been
this way for a long time.

> > You could perhaps obey sleep(n) as an
> > emergency fixup, where n is the time rounded up to the nearest second.
> >
> > Advantage: apart from a too-long delay, everything works.
>
> Too long as in infinite - the timer's not set, the alarm never goes
> off, you wait forever.


No, the sleep will give you the (overlong) delay instead (you don't do
the suspend, of course). But I don't like this idea.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book