From 241fca57a16f8261f17be2ce84c4fce92182e0c7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 9 Mar 2023 19:28:38 +0000 Subject: doc: technical/ds: update blurb to note more daemons And add a note about the various wakeup modes of kqueue|epoll while we're at it; we use all of them! --- Documentation/technical/ds.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Documentation') diff --git a/Documentation/technical/ds.txt b/Documentation/technical/ds.txt index 89cc05af..4cfb62fe 100644 --- a/Documentation/technical/ds.txt +++ b/Documentation/technical/ds.txt @@ -1,9 +1,14 @@ PublicInbox::DS - event loop and async I/O base class -Our PublicInbox::DS event loop which powers public-inbox-nntpd -and public-inbox-httpd diverges significantly from the -unmaintained Danga::Socket package we forked from. In fact, -it's probably different from most other event loops out there. +Our PublicInbox::DS event loop which powers most of our long-lived +processes(*) diverges significantly from the unmaintained Danga::Socket +package we forked from. In fact, it's probably different from most +other event loops out there. + +Most notably, it uses one-shot, level-trigger, and edge-trigger mode +modes of kqueue|epoll depending on the situation. + +(*) public-inbox-netd,(-httpd,-imapd,-nntpd,-pop3d,-watch) + lei-daemon Most notably: -- cgit v1.2.3-24-ge0c7