Re: Stuck notes in Rax and Synthtest
Re: Stuck notes in Rax and Synthtest
- Subject: Re: Stuck notes in Rax and Synthtest
- From: Shaun Wexler <email@hidden>
- Date: Mon, 19 May 2003 12:56:25 -0700
On Thursday, May 8, 2003, at 08:00 AM, Garth Cummings wrote:
A cautionary note...
We generally recommend that developers not use Mach APIs directly. We
don't guarantee that they won't change, unlike higher-level APIs. Most
of our frameworks have higher-level wrappers around Mach calls that
preserve the abstraction layering.
There may be cases when there's no other way to accomplish something.
If you find one of those cases, I suggest filing an enhancement
request to add an API to the framework you're using at
<http://developer.apple.com/bugreporter>.
I filed a feature-enhancement bug last week, asking for a simple
wrapper around the Mach semaphore, and the reply was to "use
CAGuard()". Where is this located, and in which API? I have seen in
internally in ThreadViewer, etc, but didn't realize that it was public.
Is this non-blocking?
Currently, in my ioProc, I perform a de-interleaving blit of all input
streams into mono channel ring-buffers, and signal-all via a semaphore
belonging to each buffer, after the write has completed for that
"channel", so any threads waiting for new data can begin processing it.
The only way to do this without blocking was with a Mach semaphore...
--
Shaun Wexler
MacFOH
http://www.macfoh.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.