On Thu, Jan 25, 2001 at 01:35:23PM -0600, Joe deBlaquiere wrote: > sysmips(MIPS_ATOMIC_SET,ptr,val) > { > *ptr = val ; > val 0 ; > } > > but it is an atomic operation > > if this correct in a pseudo-code sense? It's more: sysmips(MIPS_ATOMIC_SET, ptr, val) { result = *ptr; *ptr = val; return result; } Ralf