Commit e79c499d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: assert against recursive mutex in vlc_cond_(timed)wait

parent 67c68846
......@@ -527,6 +527,8 @@ void vlc_cond_wait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex)
#elif defined( WIN32 )
DWORD result;
assert (!p_mutex->recursive);
do
{
vlc_testcancel ();
......@@ -566,6 +568,7 @@ int vlc_cond_timedwait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex,
#elif defined( WIN32 )
DWORD result;
assert (!p_mutex->recursive);
do
{
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