Re: Objective-C in a Time Constraint Thread
Re: Objective-C in a Time Constraint Thread
- Subject: Re: Objective-C in a Time Constraint Thread
- From: Chandrasekhar Ramakrishnan <email@hidden>
- Date: Tue, 28 Feb 2006 23:10:47 +0100
Am 27.02.2006 um 23:30 schrieb john:
I would be surprised if making a method call from a CoreAudio
ioproc would cause an audio glitch even on slow computers. I had
various levels of processing loads in CoreAudio ioprocs when I
first started with CoreAudio and have gradually changed some things
to lessen the load, but back I never experienced any audio glitches
(even on a 500mhz G3).
Thanks for all the answers, everyone.
I'd already Sharked my code, and my ObjC methods were way down on the
list of functions taking up time, so I had concluded that it's
usually not a problem. I was, however, concerned that the cache
scavenging could be something that might occur rarely, but when it
did, could cause a glitch. That other people have some ObjC in their
IOProc without glitches is reassuring.
It would be cool, though, if some low-level ObjC hacker on the list
could give us a bit more info on the cache collecting. In particular,
what triggers it and what thread does it happen on. Or if someone can
point me to the source file, that would be fine too. Attempts to GTFW
turned up no dice. Thanks.
- sekhar
--
C. Ramakrishnan email@hidden
Illposed Software http://www.illposed.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden