• 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: Crash in ExtAudioFile API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in ExtAudioFile API


  • Subject: Re: Crash in ExtAudioFile API
  • From: patrick machielse <email@hidden>
  • Date: Fri, 17 Aug 2012 14:17:08 +0200

Op 17 aug. 2012, om 08:32 heeft tahome izwah <email@hidden> het volgende geschreven:

> From what I have learned EAF isn't thread safe (never was). You
> shouldn't be accessing the same EAF object from different threads
> unless you can be absolutely certain that the access is sequential
> (you could use @synchronized for this if you're using ObjC).

That isn't the problem here. Each ExtAudioFile object is used from one thread only. In the crash log we're creating a fresh EAF in ExtAudioFileOpenURL() on thread 13 while on thread 1 ExtAudioFileSetProperty() is called -- necessarily with a different EAF object.

p.
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Crash in ExtAudioFile API
      • From: Shalab Goel <email@hidden>
References: 
 >Crash in ExtAudioFile API (From: patrick machielse <email@hidden>)
 >Re: Crash in ExtAudioFile API (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: Crash in ExtAudioFile API
  • Next by Date: Re: Crash in ExtAudioFile API
  • Previous by thread: Re: Crash in ExtAudioFile API
  • Next by thread: Re: Crash in ExtAudioFile API
  • Index(es):
    • Date
    • Thread