[ovs-dev] [PATCH 2/3] xenserver: monitor-external-ids respond to SIGHUP

Ben Pfaff blp at nicira.com
Tue Sep 21 17:28:24 UTC 2010

On Fri, Sep 17, 2010 at 04:21:12PM -0700, Ethan Jackson wrote:
> When monitor-external-ids receives a SIGHUP it will forget
> everything and run as if it was newly started.

Instead of poller.timer_wait_until(ovs.timeval.msec() + 1000) it would
be better to simply write poller.timer_wait(1000).  But it would be even
better if this code didn't need to wake up every second.  Doesn't
poller.block() wake up on a signal?  The ordinary C library poll()
function does.

More information about the dev mailing list