<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/reaper.h, branch 1.6.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-01-21T10:55:15Z</updated>
<entry>
<title>reaper: add reaper_del() - pid is no longer watched/monitored after this</title>
<updated>2021-01-21T10:55:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-01-12T08:20:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a698fa62e28468ec52b2408cdc293803a3965dfe'/>
<id>urn:sha1:a698fa62e28468ec52b2408cdc293803a3965dfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reaper: add optional callback</title>
<updated>2021-01-21T10:43:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-26T00:26:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c28bba7a55866abcdab38422026dced7d6d4940d'/>
<id>urn:sha1:c28bba7a55866abcdab38422026dced7d6d4940d</id>
<content type='text'>
When calling ‘reaper_add()’, the caller can provide a callback. If
non-NULL, the reaper will call the callback to handle the actual
reaping.

If the callback is NULL, or if it returns false, the reaper reaps the
child process.
</content>
</entry>
<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>
