From 02cd38ea042e01f343d52f8401cd56cf8e37dd9d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 8 Oct 2023 22:11:48 +0000 Subject: introduce ProcessIONBF for multiplexed non-blocking IO This is required for reliable epoll/kevent/poll/select wakeup notifications, since we have no visibility into the buffer states used internally by Perl. We can safely use sysread here since we never use the :utf8 nor any :encoding Perl IO layers for readable pipes. I suspect this fixes occasional failures from t/solver_git.t when retrieving the WwwCoderepo summary. --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index c972818f..791d91a7 100644 --- a/MANIFEST +++ b/MANIFEST @@ -319,6 +319,7 @@ lib/PublicInbox/POP3.pm lib/PublicInbox/POP3D.pm lib/PublicInbox/PktOp.pm lib/PublicInbox/ProcessIO.pm +lib/PublicInbox/ProcessIONBF.pm lib/PublicInbox/Qspawn.pm lib/PublicInbox/Reply.pm lib/PublicInbox/RepoAtom.pm -- cgit v1.2.3-24-ge0c7