Subj : atomic_ptr on powerpc To : comp.programming.threads From : Joe Seigh Date : Fri Mar 04 2005 03:48 pm I got atomic_ptr working on powerpc. The RCU stuff worked with only a recompile so OS-X Darwin has a pretty clean pthreads implementation. While Linux preempts even when you don't want it to, Darwin has the opposite problem. It doesn't preempt even when you do a sched_yield(). I had to set SCHED_RR to get the threads to interleave. I need to look at the membar stuff a little more in depth and decide what the atomic primatives api should look like. -- Joe Seigh .