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

In debug builds, update thread waiting message for each join.

parent a50254a4
...@@ -469,7 +469,9 @@ static THREAD_RTYPE thread_entry (void *data) ...@@ -469,7 +469,9 @@ static THREAD_RTYPE thread_entry (void *data)
libvlc_priv_t *libpriv = libvlc_priv (obj->p_libvlc); libvlc_priv_t *libpriv = libvlc_priv (obj->p_libvlc);
vlc_mutex_lock (&libpriv->threads_lock); vlc_mutex_lock (&libpriv->threads_lock);
#ifdef NDEBUG
if (--libpriv->threads_count == 0) if (--libpriv->threads_count == 0)
#endif
vlc_cond_signal (&libpriv->threads_wait); vlc_cond_signal (&libpriv->threads_wait);
vlc_mutex_unlock (&libpriv->threads_lock); vlc_mutex_unlock (&libpriv->threads_lock);
return THREAD_RVAL; return THREAD_RVAL;
......
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