From ed9ea6325f51165d8dd5a9c8361b4f58936a47d5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 10 Mar 2021 13:23:41 +0000 Subject: doc: technical/data_structures: update for EOFpipe ParentPipe no longer exists and was replaced by the more flexible EOFpipe. --- Documentation/technical/data_structures.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Documentation') diff --git a/Documentation/technical/data_structures.txt b/Documentation/technical/data_structures.txt index 8776a67b..4dcf9ce6 100644 --- a/Documentation/technical/data_structures.txt +++ b/Documentation/technical/data_structures.txt @@ -222,10 +222,8 @@ daemon classes given PublicInbox::Config which may be instantiated more than once in the future. -* PublicInbox::ParentPipe +* PublicInbox::EOFpipe - Per-worker process class to detect shutdown of master process. - This is not used if using -W0 to disable worker processes - in public-inbox-httpd or public-inbox-nntpd. - - This is a per-worker singleton. + Used throughout to trigger a callback when a pipe(7) is closed. + This is frequently used to portably detect process exit without + relying on a catch-all waitpid(-1, ...) call. -- cgit v1.2.3-24-ge0c7