]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
ipc: use PublicInbox::IO::attach_pid instead of awaitpid
authorEric Wong <e@80x24.org>
Tue, 19 Aug 2025 00:33:33 +0000 (00:33 +0000)
committerEric Wong <e@80x24.org>
Wed, 20 Aug 2025 19:10:13 +0000 (19:10 +0000)
commit365ef27928e46b9745b684ad3869369336247ed1
tree78fc56840ecbc83ff9304d7c28065c5e901e05ef
parent537ce9bde088bb9e74e9870909acbc3870032b5e
ipc: use PublicInbox::IO::attach_pid instead of awaitpid

Blessing and attaching PIDs to PublicInbox::IO objects will give
us access to my_readline and my_bufread subs to allow for
asynchronous callbacks for error handling (similar to
PublicInbox::Git->cat_async).
lib/PublicInbox/IPC.pm