mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
timeval: Wake up all threads when time is warped.
This commit makes the main thread wake up all other threads when time is warped. Signed-off-by: Alex Wang <alexw@nicira.com> Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -226,6 +226,7 @@ poll_block(void)
|
||||
COVERAGE_INC(poll_zero_timeout);
|
||||
}
|
||||
|
||||
timewarp_wait();
|
||||
retval = time_poll(loop->pollfds, loop->n_waiters,
|
||||
loop->timeout_when, &elapsed);
|
||||
if (retval < 0) {
|
||||
|
Reference in New Issue
Block a user