Rép : User-land CoreAudio driver and Leopard
Rép : User-land CoreAudio driver and Leopard
- Subject: Rép : User-land CoreAudio driver and Leopard
- From: Stéphane Letz <email@hidden>
- Date: Fri, 16 Nov 2007 16:22:05 +0100
Some more questions, trying to understand the HP_IOThread class:
- in HP_IOThread::WorkLoop() the mIOGuard is locked before the while
loop. What happens for commands that come from a thread different from
the IO thread? (they are supposed to execute immediately, so
SHP_Device::StartCommandExecution is called trying to Lock the
mIOGuard, but since mIOGuard is alreadystill locked in
HP_IOThread::WorkLoop() ?? ) Is the mIOGuard unlocked somewhere so
that the pendind commands can be done?
- in HP_IOThread::WorkLoop(), commands coming from the IO thread
itself are pushed in mCommandList if IsSafeToExecuteCommand returns
false, then executed at the end of the IO cycle. But I see that some
commands may do some non real-time safe operations (memory
operations....), and are actually executed in the real-time thread...
Thanks
Stephane Letz
_______________________________________________
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