> The (my) problem is that rwlocks must use CAS as well, and I'm starting > to think that I have to use CAS for the mutex code as well, as I can't > seem to get mutexs work reliably without using the default > implementation. The mutexes are used and abused in ways that seems to > make a lot of implicit assumptions on the mutexes which go beyond what I > might expect. Still working on it, though.
can you expand upon the problems? i'm curious if they match what we found with sparc long ago (but my memory is not really working well for that right now... :) .mrg.