| Since MacOS X is BSD-based, there is an implementation of pthreads on it.
This is also probably the best route to go, I would guess.
(I found the following info tonight while reading up on MacOS Threading)
"This section describes threading on Mac OS X, which provides five different
threading APIs:
1. Mach threads represent the lowest level threading on the system.
2. POSIX threads (pthreads) are layered on top of Mach threads.
3. Cocoa threads (NSThreads) are layered directly on top of pthreads.
4. Carbon MP tasks, which are API compatible with the MP tasks in Mac OS 9,
are layered on top of pthreads.
5. Carbon Thread Manager cooperative threads, which are also API compatible
with their Mac OS 9 equivalent, are also layered on top of pthreads."
Anthony
On 8/10/04 9:51 AM, gogins@pipeline.com etched in
stone:
> It will work for Mac if somebody with a Mac who can program the Mac will
> implement Mac versions of csoundCreateThreadLock, csoundWaitThreadLock,
> csoundNotifyThreadLock, and csoundDestroyThreadLock. The blocking wrapper
> requires 2 operating system mutexes. I don't think this would be difficult,
> but then I don't really know.
>
> Original Message:
> -----------------
> From: jpff@codemist.co.uk
> Date: Tue, 10 Aug 2004 06:16:43 +0100
> To: csound-dev@eartha.mills.edu
> Subject: [CSOUND-DEV:5165] Re: Preliminary implementation of low latency
> audio for Windows
>
>
> At present the PAv19 code for Mac does not have blocking audio. Would
> your wrapper work for Mac also?
> ==John ffitch
>
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> |