[vlc-devel] commit: Allow more than one thread to call libvlc_wait ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 2 22:01:38 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  2 22:58:13 2010 +0200| [52b3415e5273e1e8dfc3431f154109928ae82488] | committer: Rémi Denis-Courmont 

Allow more than one thread to call libvlc_wait

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52b3415e5273e1e8dfc3431f154109928ae82488
---

 src/libvlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index b39fbf2..2997f7a 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1208,7 +1208,7 @@ void libvlc_Quit( libvlc_int_t *p_libvlc )
 
     vlc_mutex_lock( &exit_lock );
     vlc_object_kill( p_libvlc );
-    vlc_cond_signal( &priv->exiting );
+    vlc_cond_broadcast( &priv->exiting );
     vlc_mutex_unlock( &exit_lock );
 }
 




More information about the vlc-devel mailing list