|
From: | Andreas Schwab |
Subject: | Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'. |
Date: | Wed, 20 Jan 2021 11:17:24 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) |
On Jan 20 2021, Eli Zaretskii wrote: > If/when the signal arrives, the handler removes the file descriptor of the > process from the set on which pselect will wait. Isn't that sufficient to > prevent us from waiting for a dead process? Who removes it? > If not, why not? What happens when the signal occurs between setting up the set and calling pselect? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |