Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: IOProc limitations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOProc limitations



on 5/31/01 7:44 PM, Jeff Moore at email@hidden wrote:


> Bear in mind, that you don't need to be holding a mutex to signal on it's
> associated condition variable (assuming you're using the PThread API).

Oh, I thought you had to hold a mutex just like on cond_wait.
I guess I just got in that habit writing semaphores with counters.
So that clears up all my concerns about that.

The other thing, is that if you are doing throughput processing, not doing
it in the IOProc causes an extra buffer of latency, correct? Because you
then must have the output ready when the IOProc runs, but you don't have the
input yet. So you must operate on the previous buffer of input.


--- james mccartney email@hidden <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.10.sea.hqx>


References: 
 >Re: IOProc limitations (From: Jeff Moore <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.