Commit 12e7640e authored by Laurent Aimar's avatar Laurent Aimar

Fixed vlc_cond_wait for windows.

Thanks Courmisch for pointing it.
parent ab50befa
...@@ -392,11 +392,11 @@ static inline void __vlc_cond_wait( const char * psz_file, int i_line, ...@@ -392,11 +392,11 @@ static inline void __vlc_cond_wait( const char * psz_file, int i_line,
{ {
vlc_testcancel (); vlc_testcancel ();
result = SignalObjectAndWait (*p_mutex, *p_condvar, INFINITE, TRUE); result = SignalObjectAndWait (*p_mutex, *p_condvar, INFINITE, TRUE);
}
while (result == WAIT_IO_COMPLETION);
/* Reacquire the mutex before returning. */ /* Reacquire the mutex before returning. */
vlc_mutex_lock( p_mutex ); vlc_mutex_lock( p_mutex );
}
while (result == WAIT_IO_COMPLETION);
vlc_testcancel (); vlc_testcancel ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment