guix-devel
[Top][All Lists]
Advanced

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

Re: Updating mumi on berlin


From: Maxime Devos
Subject: Re: Updating mumi on berlin
Date: Mon, 16 May 2022 10:27:05 +0200
User-agent: Evolution 3.38.3-1

Ludovic Courtès schreef op zo 15-05-2022 om 22:59 [+0200]:
> How does a basic SIGCHLD handler fare?
> 
>   (sigaction SIGCHLD
>     (lambda _ (false-if-exception (waitpid WAIT_ANY WNOHANG))))

Will we get two SIGCHLD when two subprocesses exit at the same time, or
only a single one? If they are combined to a single SIGCHLD, maybe
'waitpid' needs to be called in a loop so no subprocess is missed. 
Also, I think only the ECHILD system-error and maybe EINTR needs to be
caught here.

Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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