On Tue, Oct 01, 2013 at 01:36:13PM -0700, Alex Wang wrote:
> This commit adds an extern sequence number 'timewarp_seq' in timeval,
> so that threads other than main thread can wait on this sequence number
> and be waken up when time is warped.
> 
> Signed-off-by: Alex Wang <al...@nicira.com>

Could timeval export a function e.g. "timewarp_wait()" rather than a
variable here?

It would be even better if threads didn't have to explicitly wait on
this.  Maybe timeval or the poll loop should automatically wake up all
threads when time warping happens.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to