mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 05:34:41 +00:00
lib: make writing end of pipe nonblocking
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
a772d6eae6
commit
8c88ac94fa
@ -387,6 +387,7 @@ thread_master_create (void)
|
|||||||
rv->owner = pthread_self();
|
rv->owner = pthread_self();
|
||||||
pipe (rv->io_pipe);
|
pipe (rv->io_pipe);
|
||||||
set_nonblocking (rv->io_pipe[0]);
|
set_nonblocking (rv->io_pipe[0]);
|
||||||
|
set_nonblocking (rv->io_pipe[1]);
|
||||||
|
|
||||||
rv->handler.pfdsize = rv->fd_limit;
|
rv->handler.pfdsize = rv->fd_limit;
|
||||||
rv->handler.pfdcount = 0;
|
rv->handler.pfdcount = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user