mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
lib: Add xpipe_nonblocking helper
Signed-off-by: Ed Maste <emaste@adaranet.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -63,9 +63,7 @@ signal_init(void)
|
||||
static bool inited;
|
||||
if (!inited) {
|
||||
inited = true;
|
||||
xpipe(fds);
|
||||
xset_nonblocking(fds[0]);
|
||||
xset_nonblocking(fds[1]);
|
||||
xpipe_nonblocking(fds);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user