On Thu, Nov 11, 2010 at 05:22:03PM +0100, Johnny Billquist wrote: *snip snip* > All others rely on the __HAVE_SIMPLE_MUTEXES > implementation, which utilize a CAS function. Obviously the VAX does > not have a CAS, and it is rather costly to simulate it, so I'm > working on getting away from this. (Does really all other platforms > have a CAS?)
Later in this thread you mention an MP-safe VAX instruction for manipulating linked-lists. You cannot use that instruction in a clever way to provide atomic_cas_ptr() and atomic_swap_ptr() for rwlock(9) to use? Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933