]> Sergey Matveev's repositories - public-inbox.git/commit
ipc: add wq_broadcast
authorEric Wong <e@80x24.org>
Sun, 21 Feb 2021 07:41:30 +0000 (07:41 +0000)
committerEric Wong <e@80x24.org>
Sun, 21 Feb 2021 08:59:30 +0000 (08:59 +0000)
commit3b2b02a411b161e2392c3a5b1c376c83573b027e
treed0bc3c4779445bc12a3d7dba4771801fcf49028a
parentfb8b16ff2b40ecd22ebbdea0d27069749e800077
ipc: add wq_broadcast

We'll give workqueues a broadcast mechanism to ensure all
workers see a certain message.  We'll also tag each worker
with {-wq_worker_nr} in preparation for work distribution.

This is intended to avoid extra connection and fork() costs
from LeiAuth in a future commit.
lib/PublicInbox/IPC.pm
lib/PublicInbox/WQWorker.pm
t/ipc.t