diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 14:27:42 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 14:27:42 -0300 |
| commit | 791d0447aa2bdd4fe4ae0c76052e09acca4c61f2 (patch) | |
| tree | 2c716d57babc0ac48faa8ae07387bcd84a9f4dca /test/pdf_scroll_bench.zig | |
| parent | 45b4c9bb28596bb6102c387a4b0e4fbb87c78155 (diff) | |
| download | pardes-791d0447aa2bdd4fe4ae0c76052e09acca4c61f2.tar.gz pardes-791d0447aa2bdd4fe4ae0c76052e09acca4c61f2.zip | |
daemon.zig: a forked session takes its stub's death, a SIGKILL too, as the terminal's HUP and detaches
PR_SET_PDEATHSIG (FreeBSD: PROC_PDEATHSIG_CTL) in the session child,
cleared again at Detach so the stub's own exit then is no hangup; a stub
dead before it was set hangs up at once. It is the HUP the signal thread
already takes (blocked in every thread, sigwaited), and setsid does not
touch it. An --attach stub is no parent of its session: one killed so
still leaves the session drawing until the terminal closes or Detach.
test/daemon.py kills a session's stub outright under a shell that keeps
the terminal (on FreeBSD the session leader's exit revokes it), waits
for the session to put the terminal back and detach, and attaches it
again; without the death signal it times out.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/pdf_scroll_bench.zig')
0 files changed, 0 insertions, 0 deletions
