win32: only sleep for 0 ms when excplicitly requested
commitac7d450ad01e555b959667b2c29312402436b56a
authorSteve Lhomme <robUx4@videolabs.io>
Tue, 31 May 2016 13:06:19 +0000 (31 15:06 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 4 Jun 2016 13:40:33 +0000 (4 15:40 +0200)
tree1de327460cc3e64dd27915173dafb0d87684b746
parent99dadbef6016351724a042a561feb1c38a2f16f0
win32: only sleep for 0 ms when excplicitly requested

SleepEx(0) results in 100% CPU usage on XP. It's back to normal with a 5 ms
value.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/win32/thread.c