On Thu, Dec 11, 2003 at 12:47:37PM -0800, Aaron Bannert wrote: > On Thu, Dec 11, 2003 at 08:39:27AM -0500, Brian Akins wrote: > > I wonder if this > > >binary would run on an older processor (running a modern version of linux). > > > > AFAIK, yes. It's standard x86 assembly. > > > > > > All: Please correct me if I am wrong. I'm sure you will ;) > > I'm no x86 asm expert, so maybe someone else can comment on the > portability of this code.
Me neither, but AFAIK the x86 atomics are supposed to work on i486 and above: the i386 doesn't have cmpxchgl.