Re: Calling TellListener & AUParameterSet in audio thread
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.