]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Mark signal waiting IO as "never wait alone"
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 17 Aug 2018 08:34:02 +0000 (11:34 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 12 Sep 2018 06:11:22 +0000 (09:11 +0300)
This signal is being automatically moved to nested ioloops. It can't be the
only IO being waited, since there's no code that simply wants to wait for a
signal.

src/lib/lib-signals.c

index adecc908ade8c791a6be5b14b55cd8d283317f3b..ce61bbb114c1a84c0b3d28241b5f53d232687182 100644 (file)
@@ -301,6 +301,7 @@ lib_signals_enable_delayed_hander(void)
        if (current_ioloop != NULL) {
                io_sig = io_add(sig_pipe_fd[0], IO_READ,
                        signal_read, (void *)NULL);
+               io_set_never_wait_alone(io_sig, TRUE);
        }
 }