util: xleep for Windows.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 28 Mar 2014 22:15:02 +0000 (15:15 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 31 Mar 2014 16:03:46 +0000 (09:03 -0700)
commit5fd2f418fa845b1aa8662a3d939af13b484af62c
treef96bb39f5de0056417afddf8c52bf3a1d0327193
parent437d0d22ab42d4101157b48a75fa844e7039e326
util: xleep for Windows.

Windows does not have a sleep(seconds). But it does have
a Sleep(milliseconds). Sleep() in windows does not have a
return value. Since we are not using the return value for xsleep()
anywhere as of now, don't return any.

Introduced by commit 275eebb9 (utils: Introduce xsleep for RCU quiescent state)

CC: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/util.c
lib/util.h