[vlc-devel] commit: block_FifoWake (deprecated): wake-up _all_ threads, not just one ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Oct 22 22:09:46 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Oct 22 23:09:27 2008 +0300| [4f460e2ffb86479e88509a2aca86609adeded1e9] | committer: Rémi Denis-Courmont 

block_FifoWake (deprecated): wake-up _all_ threads, not just one

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

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

diff --git a/src/misc/block.c b/src/misc/block.c
index 380e822..71badca 100644
--- a/src/misc/block.c
+++ b/src/misc/block.c
@@ -431,7 +431,7 @@ void block_FifoWake( block_fifo_t *p_fifo )
     vlc_mutex_lock( &p_fifo->lock );
     if( p_fifo->p_first == NULL )
         p_fifo->b_force_wake = true;
-    vlc_cond_signal( &p_fifo->wait );
+    vlc_cond_broadcast( &p_fifo->wait );
     vlc_mutex_unlock( &p_fifo->lock );
 }
 




More information about the vlc-devel mailing list