[vlc-devel] commit: If the thread does nothing, we might as well exit ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Aug 28 18:25:55 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Aug 28 19:28:35 2008 +0300| [164088117085b0c866a10225fa20caf1290ffaa6] | committer: Rémi Denis-Courmont 

If the thread does nothing, we might as well exit

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

 src/interface/interface.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/interface/interface.c b/src/interface/interface.c
index 3183c98..3dc1d1a 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -227,13 +227,6 @@ static void* RunInterface( vlc_object_t *p_this )
     /* Give control to the interface */
     if( p_intf->pf_run )
         p_intf->pf_run( p_intf );
-    else
-    {
-        vlc_object_lock( p_intf );
-        while( vlc_object_alive( p_intf ) )
-            vlc_object_wait( p_intf );
-        vlc_object_unlock( p_intf );
-    }
 
     vlc_restorecancel (canc);
     return NULL;




More information about the vlc-devel mailing list