diff options
author | Eric Wong <e@80x24.org> | 2019-11-24 00:22:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-24 21:35:19 +0000 |
commit | 8576a48b2344905229737fde45498c80a1171ca5 (patch) | |
tree | 0ff343124cd1498415babfd8b74efc827c56b6c7 /t/v2writable.t | |
parent | 34a51e5736d7d1b7d2da7f7640eb2b87eec121ff (diff) | |
download | public-inbox-8576a48b2344905229737fde45498c80a1171ca5.tar.gz |
While the master process has a self-pipe to avoid missing signals, worker processes lack that aside from a pipe to detect master death. That pipe doesn't exist when there's no master process, so it's possible DS::close never finishes because it never woke up from epoll_wait. So create a pipe on the worker_quit signal and force it into epoll/kevent so it wakes up right away.
Diffstat (limited to 't/v2writable.t')
0 files changed, 0 insertions, 0 deletions