]> git.sesse.net Git - vlc/commit
Fixed vlc_cond_timedwait for win32.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 7 Sep 2008 15:17:06 +0000 (17:17 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 7 Sep 2008 15:17:06 +0000 (17:17 +0200)
commitecabf5dd58521b1e4d81a25623bf310afcff923a
tree5db7e72cee296b451c6be77aee0782db308de55e
parentd7e6fd9eb47743a6661d6660344f0b01759a4b2b
Fixed vlc_cond_timedwait for win32.

Windows API expect a timeout in millisecond.
SignaObjectAndWait should properly work with a 0 timeout, so try it.
(avoid an invalid lock and an uninitialized return value).
include/vlc_threads.h