$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Michael D. Crawford (crawford_at_[hidden])
Date: 2005-04-05 19:16:00
I have an OS X Mac with CodeWarrior 8.3 and some version of Apple's
XCode. Let's see, g++ --version says it's 3.3.
I also have a PowerPC mac running Debian Linux for PowerPC.
Have you looked at the ZRef from ZooLib? It's thread safe, and supports
CodeWarrior and g++ on PowerPC. It also supports some other platforms:
Let's see if I can find the file you need...
ZAtomic.h
http://cvs.sourceforge.net/viewcvs.py/zoolib/zoolib/src/foundation/ZAtomic.h?rev=1.10&view=markup
ZAtomic.cpp
http://cvs.sourceforge.net/viewcvs.py/zoolib/zoolib/src/foundation/ZAtomic.cpp?view=markup
Look also in ZRefCount.h and ZRefCount.cpp in
http://cvs.sourceforge.net/viewcvs.py/zoolib/zoolib/src/foundation/
ZooLib has the MIT License.
Michael D. Crawford
crawford_at_[hidden]
Read "GoingWare's Bag of Programming Tricks" at
http://www.goingware.com/tips/