|
From: Julian S. <js...@ac...> - 2012-12-04 14:43:51
|
> 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 |