[vlc-devel] commit: variables use are thread safe. No need for nested locking. ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jun 25 20:57:50 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jun 25 21:44:47 2008 +0300| [bd3008a3a1d7122b7fb738f3ea4844b742dc72c2]

variables use are thread safe. No need for nested locking.

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

 modules/gui/qt4/qt4.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index f8adc68..e349b70 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -402,7 +402,6 @@ static void Init( intf_thread_t *p_intf )
 
     /* And quit */
 
-    QMutexLocker locker (&windowLock);
     val.p_address = NULL;
     var_Set (p_intf, "window_widget", val);
     /* Destroy first the main interface because it is connected to some slots




More information about the vlc-devel mailing list