<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/reaper.h, branch 1.4.4</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.4</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.4'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-05-21T18:15:10Z</updated>
<entry>
<title>reaper: new module, uses a signalfd to wait() on child processes</title>
<updated>2020-05-21T18:15:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-21T18:15:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f49742ebba769e5024f178428d6e7ad048f18e77'/>
<id>urn:sha1:f49742ebba769e5024f178428d6e7ad048f18e77</id>
<content type='text'>
Use a signalfd to listen for SIGCHLD signals.

When we receive a SIGCHLD over the signalfd, reap all dead children by
looping over all registered child PIDs and call waitpid(WNOHANG) on
them.
</content>
</entry>
</feed>
