mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
socket-util: New function xset_nonblocking().
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -75,8 +75,8 @@ fatal_signal_init(void)
|
||||
inited = true;
|
||||
|
||||
xpipe(signal_fds);
|
||||
set_nonblocking(signal_fds[0]);
|
||||
set_nonblocking(signal_fds[1]);
|
||||
xset_nonblocking(signal_fds[0]);
|
||||
xset_nonblocking(signal_fds[1]);
|
||||
|
||||
sigemptyset(&fatal_signal_set);
|
||||
for (i = 0; i < ARRAY_SIZE(fatal_signals); i++) {
|
||||
|
Reference in New Issue
Block a user