[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD
From: |
Philipp Stephani |
Subject: |
Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'. |
Date: |
Sat, 23 Jan 2021 18:36:48 +0100 |
Am Mi., 20. Jan. 2021 um 16:05 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > > The thing is, on Windows we can only wait on up to 64 handles (unless
> > > we complicate the code with multilevel wait, that is), so every
> > > unnecessary descriptor we need to wait on means we can support fewer
> > > simultaneous subprocesses. We are already limited to just 32
> > > subprocesses, which is quite low a number.
> >
> > OK, that's a good point, I didn't know about this limitation. I'll see
> > that I can remove the pipe on Windows.
>
> Just making those child_signal_* function be no-ops on MS-Windows, and
> #ifedf'ing away that call to FD_SET of child_fd, should be okay, I
> think.
I was about to take a stab at this, but looks like you beat me to it :-)
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Eli Zaretskii, 2021/01/19
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Andreas Schwab, 2021/01/19
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Philipp Stephani, 2021/01/19
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Andreas Schwab, 2021/01/20
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Eli Zaretskii, 2021/01/19
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Andreas Schwab, 2021/01/20
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Eli Zaretskii, 2021/01/20
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Andreas Schwab, 2021/01/20
- Re: scratch/sigchld-fd 8f0ce42 1/2: Fix deadlock when receiving SIGCHLD during 'pselect'., Eli Zaretskii, 2021/01/20