[vlc-devel] commit: Win32: using a static mutex with a condition is not implemented yet ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 2 21:53:53 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  2 22:53:24 2010 +0200| [719e739a4e9f9f9b5db3edd5d36c54061116c2f4] | committer: Rémi Denis-Courmont 

Win32: using a static mutex with a condition is not implemented yet

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

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

diff --git a/src/misc/w32thread.c b/src/misc/w32thread.c
index 349dd81..64cdadc 100644
--- a/src/misc/w32thread.c
+++ b/src/misc/w32thread.c
@@ -279,6 +279,7 @@ void vlc_cond_wait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex)
 {
     DWORD result;
 
+    assert (p_mutex->dynamic); /* TODO */
     do
     {
         vlc_testcancel ();
@@ -298,6 +299,7 @@ int vlc_cond_timedwait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex,
 {
     DWORD result;
 
+    assert (p_mutex->dynamic); /* TODO */
     do
     {
         vlc_testcancel ();




More information about the vlc-devel mailing list