:: Re: [DNG] Good thing we don't use s…
Top Page
Delete this message
Reply to this message
Author: Chris Angelico
Date:  
To: Rainer Weikusat
CC: dng
Subject: Re: [DNG] Good thing we don't use systemd
On Wed, 8 Apr 2026 at 01:16, Rainer Weikusat via Dng <dng@???> wrote:
> > That's exactly how I usually use it - adding the signals to the set of
> > file descriptors being monitored. So if I set that fd into an epoll
> > group, when is dequeue_signal() called, and does it improve
> > reliability?
>
> The signalfd read function calls dequeue_signal.


Makes sense. So if I have a single-threaded process that uses epoll
for async I/O, using signalfd to handle SIGCHLD, and two children
terminate before I go back to the event loop, there'll only be one
signal waiting.

ChrisA