... cs(3)
> > Seems same as AIX 4?
Yes, identical.
>
> Hmm, does anyone want to produce new s_lock code for AIX that uses
> compare_and_swap? But I'm not sure that's the problem here.
I did once, but performance was worse, so I discarded it.
Since AIX 5 still has it, I see no reason to change it.
Still, testing it on AIX 5 might reveal that compare_and_swap
is now faster, Tatsuo ?
Andreas