checking for this variable when the variable is
created. However, that will lose ALL helgrind checking of the
variable. Is there a better technique?
Thanks
On Sun, Aug 9, 2015 at 10:29 AM, Philippe Waroquiers
wrote:
> On Fri, 2015-08-07 at 10:36 -0400, Rich Prohaska wrote:
>> Hello,
>
Hello,
I have observed that helgrind will report erroneous data races on a
variable if checking on that variable is disable and enabled by a
concurrent thread. Can someone explain what is going on?
Please see attached example program.
Thanks
Rich Prohaska
hg-rw-race.cc
Description: Binary
Hello,
I dont understand why helgrind sometimes reports a data race for the
attached program. One thread writes a variable while holding a mutex. The
other thread disables and enables checks on the same variable.
Thanks
Rich Prohaska
hg-rw-race.cc
Description: Binary data