> > That's fixed now, in the trunk (not 3.4.x). If you put in atomic > > instructions then you should get out (something equivalent to) > > atomic instructions. So V should now play nice with other processes > > communicating via shared memory. > > Cool, that's good to know :) Is there a place I can read up on how this > works?
Not really. On x86 and amd64, all atomic instructions are translated using a loop, which fetches the old value, computes the new value, and uses a compare-and-swap to either stuff the new value in, or detect that the old value has changed, in which case it starts over. On ppc32/64, lwarx/stwcx. are simply carried through the JIT pipeline and re-emitted (more or less) as-is. J ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
