bug-mcron
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/5] base: Call 'child-cleanup' when 'select' returns an empt


From: Ludovic Courtès
Subject: Re: [PATCH 3/5] base: Call 'child-cleanup' when 'select' returns an empty set.
Date: Thu, 05 Mar 2020 17:27:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi Dale,

Dale Mellor <address@hidden> skribis:

> On Sun, 2020-02-23 at 18:49 +0100, Ludovic Courtès wrote:
>> Previously, on Guile >= 2.2, we'd lose this opportunity to call
>> 'child-cleanup', possibly leaving zombies behind us.
>> 
>> * src/mcron/base.scm (run-job-loop): Define 'select*'.  Don't expect
>> 'select*' to throw upon EINTR or EAGAIN.
>>  ...
>
>
> Thanks for this!  I remember this basic code from way back when I first
> started writing mcron; guile 1.3.4 was the current version and it was
> impossible then to deal with process signals and select calls in the
> same program.  When guile 2.0 came out I did a quick hack (actually it
> took a lot of trial and error to find something that worked) which made
> it work at least most of the time and don't think that I have looked at
> it since.
>
> But times have moved on, and now you've got it working like it should. 
> Great!

Heheh, indeed.

> I've committed your updates to the upstream repository.

Great, thank you!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]