Re: async loading crash
Re: async loading crash
- Subject: Re: async loading crash
- From: Fritz Anderson <email@hidden>
- Date: Wed, 08 Feb 2012 09:03:16 -0600
On 8 Feb 2012, at 8:00 AM, Jan E. Schotsman wrote:
> if ( status == AVKeyValueStatusLoaded ) {
> [self performSelectorOnMainThread: @selector(processMovie:)
> withObject: movieAsset
> waitUntilDone: YES];
> }
(Reformatted to fit the screen and my crotchets; sorry)
Why do you set waitUntilDone:? I don't see what it gets you (you don't use the resulting state), so there's no point in hanging the AV thread. That your problem is in pthread_mutex_unlock suggests a threading problem.
— F
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden