Skip to content

Commit

Permalink
lib: Mark signal waiting IO as "never wait alone"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sirainen committed Aug 22, 2018
1 parent 6293b4f commit 0d7918a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/lib-signals.c
Expand Up @@ -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, NULL);
io_set_never_wait_alone(io_sig, TRUE);
}
}

Expand Down

0 comments on commit 0d7918a

Please sign in to comment.