| Paul Barton-Davis wrote:
>
>
> The reason that multithreadedness is a problem is because there
> is a standard for threads that I think makes sense to follow: POSIX
> P.1003. This standard is not implemented, as far as I know, for the
> Mac, and I am not sure of its status for Windows (one of the cygnus
> libraries might have it, I don't know).
>
>
NT is supposed to be POSIX compliant. The Mac has threads but its not POSIX
(although, I remember reading that MetroWerks compiler has some kind of thread
layer (easier than the MacOS threads) and some people have been porting POSIX
apps to this layer). MacOS X (server) has POSIX libs although I dont think its
certified POSIX compliant. Many POSIX unix apps port without trouble, or so I
hear. BeOS also has a POSIX threads implementation, if Im not mistaken.
If using c++ all you need is a csound abstract threads class then platform
dependent thread implications (in separate files, no more of this ifndef stuff in
the middle of the code), similar to how the handling of the platform hardware
dependencies is done.
Michael
--
----------------------------------
Michael A. Thompson
[IRIX - NeXTStep - Linux - MacOS - Windows]
Home: (940)382-2086
E-Mail: mat0001@jove.acs.unt.edu
----------------------------------
|