site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com jmzorko@mac.com (jmzorko@mac.com) on Sun, Sep 19, 2004 11:22 said:
I'm porting a class library / framework to OSX 10.3 / Darwin PPC. One of the things needed is atomic increments, decrements and swaps. With the help of others here, and various web sites, I found the lwarx / stwcx pair and some assembly doing exactly what I want. Cool!
If you haven't discovered it you yet, you might also look at OSAtomic.h. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com