daemon: Tolerate EINTR in fork_and_wait_for_startup().
authorBen Pfaff <blp@nicira.com>
Thu, 31 Mar 2011 16:36:10 +0000 (09:36 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 4 Apr 2011 17:58:55 +0000 (10:58 -0700)
commitaf9a144207eb1b4fdfd735b29f90c41f80aa9a2e
treef648cd59627a33cb5f6718e0686c36b545353e45
parent279c9e030818e039bb1c26be76e2cc1e8f6b13a6
daemon: Tolerate EINTR in fork_and_wait_for_startup().

It seems possible that a signal coming in at the wrong time could confuse
this code.  It's always best to loop on EINTR.
lib/daemon.c
python/ovs/daemon.py