X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Ftechnical%2Fdata_structures.txt;h=4dcf9ce609be486965076f0817b9981070aafa1a;hb=ed9ea6325f51165d8dd5a9c8361b4f58936a47d5;hp=8776a67b969500db69bd858ef9e7da214f7d0566;hpb=f67658d41387f486b7a725ece2c5e1015a7c5a84;p=public-inbox.git 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.