]> Sergey Matveev's repositories - public-inbox.git/commit
ipc: more consistent behavior between worker types
authorEric Wong <e@80x24.org>
Fri, 29 Jan 2021 07:42:56 +0000 (12:42 +0500)
committerEric Wong <e@80x24.org>
Sat, 30 Jan 2021 01:08:18 +0000 (01:08 +0000)
commit89c34c8ea543ade16e5a68bf1c2b83bf885c46ea
tree3286898dfc782e2102f322b803992e63aa8d8bce
parentcc2eca91049da7e9bd4ddc8c19e85dd47913eb79
ipc: more consistent behavior between worker types

Localize signals inside the respective worker loops
in case there's circular references.

We'll also rely on OnDestroy to trigger exits from the
ipc_worker_loop like we do with wq_worker_loop.  And
also add some more developer documentation to help future
developers.

The default signals remain different, for now.
Cleanup some unnecessary "use" statements while we're
loading OnDestroy.
lib/PublicInbox/IPC.pm