Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2001-10-18 23:32:56


on 10/18/01 4:01 PM, Brian Sharpe at brian_at_[hidden] wrote:

> Does anyone know if the library has been ported to
> MacOS native threads?
> not just MacOSX but earlier MacOS versions? (eg 8,9)

It hasn't.

> I've been pulling my hair out trying to find a truly cross-platform
> simple threading library that is ported to MacOS aswell as Unix/Win32.

For threads in Mac OS before Mac OS X, you have two main choices
<http://developer.apple.com/macos/multiprocessing.html>. The Macintosh
Thread Manager gives you co-operative multitasking, which might not fit the
Boost.Thread library abstraction well. The Multiprocessing API would
probably fit the Boost.Thread model pretty well, but there are some pretty
severe restrictions on what parts of the Mac OS you can use from threads
other than the main one.

It might be a good project to adapt Boost.Thread to one or both of these
models, but it's definitely not already done.

    -- Darin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk