From a640cc722a34d7fd459149c87bf86fa63547ac7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 17 Mar 2009 20:52:16 +0200 Subject: [PATCH] OSX interface: remove dummy lock acquisition It is only used from a single thread --- modules/gui/macosx/intf.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index a9f07da2fc..4eed5ad412 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1460,7 +1460,6 @@ static void manage_cleanup( void * args ) while( true ) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; - vlc_mutex_lock( &p_intf->change_lock ); if( !p_input ) { @@ -1490,8 +1489,6 @@ static void manage_cleanup( void * args ) /* Manage volume status */ [self manageVolumeSlider]; - vlc_mutex_unlock( &p_intf->change_lock ); - msleep( INTF_IDLE_SLEEP ); [pool release]; -- 2.39.2