summaryrefslogtreecommitdiff
path: root/docs/detached.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/detached.md')
-rw-r--r--docs/detached.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/detached.md b/docs/detached.md
index d849c810..58a2f9c6 100644
--- a/docs/detached.md
+++ b/docs/detached.md
@@ -104,7 +104,7 @@ A consequence worth knowing: the daemon forks its pane shells whether or not
anybody is attached. Start a session, attach nothing, and `ps --ppid <daemon>`
already shows a shell.
-The daemon is **single-threaded**. Its pane pty masters and its one inotify
+The daemon is **single-threaded**. Its pane pty masters and its one watch
descriptor live in the same `poll(2)` that accepts frontends —
`poll_slots = 1 + max_clients + MAX_PANES + 1` = 50 descriptors — so there is no
thread per pane and no thread per client. Pty output enters the core as
@@ -237,7 +237,7 @@ no-op, never a half-dead editor.
command line, and killing a shell to reclaim a megabyte destroys work. Before
this, one `write(2)` to a master could park the whole daemon: `sleep 3600`
plus a paste larger than the pty's 4 KiB input buffer meant no frame to any
- frontend, fifteen other masters unread, no `accept`, no inotify drain.
+ frontend, fifteen other masters unread, no `accept`, no watch drain.
* `max_clients` (32) is a **refusal**, not a queue. The listener is always
accepted from even when the table is full, so the refusal can be spoken — a
level-triggered `poll` on a backlog nobody accepts returns ready forever and