[vlc-devel] commit: macosx: Dont' forget to unlock. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Sep 20 16:00:05 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 20 16:02:44 2008 +0200| [5012f501a5513260cfaff463dd562ea33f1c1a1c] | committer: Pierre d'Herbemont
macosx: Dont' forget to unlock.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5012f501a5513260cfaff463dd562ea33f1c1a1c
---
modules/gui/macosx/intf.m | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 7a7643f..6e0c6ce 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1414,7 +1414,9 @@ static void * ManageThread( void *user_data )
vlc_mutex_unlock( &p_intf->change_lock );
+ vlc_object_unlock( p_intf );
msleep( INTF_IDLE_SLEEP );
+ vlc_object_lock( p_intf );
}
vlc_object_unlock( p_intf );
[o_pool release];
More information about the vlc-devel
mailing list