unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/5] signal handling fixes
@ 2024-08-20 10:35 Eric Wong
  2024-08-20 10:35 ` [PATCH 1/5] treewide: handle EINTR for non-(signalfd|kevent) Eric Wong
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Eric Wong @ 2024-08-20 10:35 UTC (permalink / raw)
  To: meta

Some changes I started in May but got sidetracked on :x

I finally got around to getting the *BSD + EVFILT_SIGNAL stuff
working ideally today (and I even prefer it over signalfd
semantics given our use of Mail::IMAPClient and Net::NNTP)

Eric Wong (5):
  treewide: handle EINTR for non-(signalfd|kevent)
  lei: simplify forced signal check
  sigfd: call normal Perl %SIG handlers
  lei: allow Ctrl-C to interrupt IMAP+NNTP reads
  lei_xsearch: allow signals during long queries

 lib/PublicInbox/CodeSearchIdx.pm | 24 ++++++++++++----
 lib/PublicInbox/DS.pm            | 21 ++++++++------
 lib/PublicInbox/IPC.pm           | 16 +++++++++--
 lib/PublicInbox/LEI.pm           | 49 +++++++++++++++++++++-----------
 lib/PublicInbox/LeiXSearch.pm    |  4 +++
 lib/PublicInbox/NetReader.pm     | 14 +++++++++
 lib/PublicInbox/PktOp.pm         | 17 ++++++-----
 lib/PublicInbox/SHA.pm           | 22 +++++++++++---
 lib/PublicInbox/Sigfd.pm         | 43 +++++++++++++++++++---------
 script/lei                       |  2 +-
 t/sigfd.t                        | 45 ++++++++++++++++++-----------
 11 files changed, 182 insertions(+), 75 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-20 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 10:35 [PATCH 0/5] signal handling fixes Eric Wong
2024-08-20 10:35 ` [PATCH 1/5] treewide: handle EINTR for non-(signalfd|kevent) Eric Wong
2024-08-20 10:35 ` [PATCH 2/5] lei: simplify forced signal check Eric Wong
2024-08-20 10:35 ` [PATCH 3/5] sigfd: call normal Perl %SIG handlers Eric Wong
2024-08-20 10:35 ` [PATCH 4/5] lei: allow Ctrl-C to interrupt IMAP+NNTP reads Eric Wong
2024-08-20 10:35 ` [PATCH 5/5] lei_xsearch: allow signals during long queries Eric Wong
2024-08-20 18:40   ` [PATCH 6/5] t/sigfd: reduce getpid() calls and hash lookups Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).