timeval: Sleep instead of poll().
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 12 Mar 2014 17:21:05 +0000 (10:21 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Thu, 13 Mar 2014 16:18:17 +0000 (09:18 -0700)
commiteb1ddf985264657b533275d488979d78a3acb15f
tree10ecb21d8e61333883e2bbf68e7f785e5e963c1b
parent2e49748ee038f4cf9125bf2db1f6e4d41cbfaa36
timeval: Sleep instead of poll().

The WSAPoll() function, which is similar to poll() doesnot
simply sleep when the fd array is NULL. So use Sleep() instead.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/timeval.c