mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +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:
@@ -74,9 +74,7 @@ fatal_signal_init(void)
|
||||
|
||||
inited = true;
|
||||
|
||||
xpipe(signal_fds);
|
||||
xset_nonblocking(signal_fds[0]);
|
||||
xset_nonblocking(signal_fds[1]);
|
||||
xpipe_nonblocking(signal_fds);
|
||||
|
||||
sigemptyset(&fatal_signal_set);
|
||||
for (i = 0; i < ARRAY_SIZE(fatal_signals); i++) {
|
||||
|
Reference in New Issue
Block a user