• 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: Calling TellListener & AUParameterSet in audio thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling TellListener & AUParameterSet in audio thread


  • Subject: Re: Calling TellListener & AUParameterSet in audio thread
  • From: "Angus F. Hewlett" <email@hidden>
  • Date: Thu, 20 Mar 2003 06:09:55 +0000

At 11:03 AM 3/19/2003 -0800, Bill Stewart wrote:

>Secondly - yes this is ultimately just a thread of execution - there
>are no a priori reasons why you cannot call malloc on the I/O thread -
>but there are VERY GOOD REASONS not to

Absolutely, I agree 100%.

>The stack traces you have below are indicative of precisely this
>problem - though why it is crashing is another question - I don't know.

Perhaps someone on this list that might know could comment, or you could
pass it on to the appropriate department at Apple? However bad a practice
memory allocation in a high-priority, "realtime" thread is, to my mind it
should not be crashing on any OS in 2003 :)

>In the situations that we've seen this contention occur on, the I/O
>thread (or some other real time thread) just waits until the UI thread
>releases the lock, but not crashes.

Yes, that would be the behaviour I'd expect; it would also cause audio
dropouts, pops or clicks, and possibly severe UI jerkiness as well, but not
crashes.

Regards,
Angus.

=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd - http://www.fxpansion.com
=======================================================
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Calling TellListener & AUParameterSet in audio thread
      • From: Garth Cummings <email@hidden>
References: 
 >Re: Calling TellListener & AUParameterSet in audio thread (From: "Angus F. Hewlett" <email@hidden>)
 >Re: Calling TellListener & AUParameterSet in audio thread (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: Multiple instances of an Audio Device
  • Next by Date: Newbie (sort of...)
  • Previous by thread: Re: Calling TellListener & AUParameterSet in audio thread
  • Next by thread: Re: Calling TellListener & AUParameterSet in audio thread
  • Index(es):
    • Date
    • Thread