> It is a race, but one that has the same result as if everything were
> serialized. If three threads all set this bit to 1, that's ok. It's ok
> because they're all trying to write the same thing.

Do you have suitable memory fences in place, so it won't break in
mysterious ways on targets that deliver stores out-of-order to other
processors, eg Power7?

Anyway .. 

> You're right, it is correctly flagged as a race, I'm just hoping to ask it
> to not report this one.

You might be best off removing the magic macros shown in your first posting,
and instead using Valgrind's suppression mechanism to hide precisely the
error(s) you don't want to see.

J

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to