If "ovs-appctl exit" happens to hit ovsdb-server or ovs-vswitchd at a
moment when nothing else is happening to wake the daemon up, it can take a
long time for them to exit.
This seems to account for occasional "make check" failures on Nicira's
internal builds. It probably fixes some Debian automatic build failures
as well.
if (run_process) {
process_wait(run_process);
}
+ if (exiting) {
+ poll_immediate_wake();
+ }
poll_block();
}
ovsdb_jsonrpc_server_destroy(jsonrpc);
unixctl_server_wait(unixctl);
dp_wait();
netdev_wait();
+ if (exiting) {
+ poll_immediate_wake();
+ }
poll_block();
}