diff options
author | Eric Wong <e@80x24.org> | 2021-03-10 13:23:41 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-10 23:39:14 -0400 |
commit | ed9ea6325f51165d8dd5a9c8361b4f58936a47d5 (patch) | |
tree | a288550b0ee175274836a7f83fb362397385f7bd /Documentation | |
parent | f67658d41387f486b7a725ece2c5e1015a7c5a84 (diff) | |
download | public-inbox-ed9ea6325f51165d8dd5a9c8361b4f58936a47d5.tar.gz |
ParentPipe no longer exists and was replaced by the more flexible EOFpipe.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/technical/data_structures.txt | 10 |
1 files changed, 4 insertions, 6 deletions
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. |