• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: async loading crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >async loading crash (From: "Jan E. Schotsman" <email@hidden>)

  • Prev by Date: Cocoaheads - Silicon Valley : February Meeting Details
  • Next by Date: drawing 1 bit images, and image resolution
  • Previous by thread: async loading crash
  • Next by thread: Cocoaheads - Silicon Valley : February Meeting Details
  • Index(es):
    • Date
    • Thread