On Dec 5, 2007 10:56 AM, Konstantin Serebryany <
[EMAIL PROTECTED]> wrote:

> Hi Julian, all,
>
> I get a report about a race from helgrind, while everything looks well
> synchronized to me.
> Am I wrong?
>

I can be wrong, but my understanding is that the Eraser algorithm (helgrind)
reports any conflicting accesses to shared variables that are not protected
by proper locking, so I expect helgrind to complain on the last COND access.
DRD on the other hand looks for possible causes of nondeterminism. There are
no such issues in the program cv.cc, hence DRD does not complain on any of
the COND accesses in cv.cc.

Regards,

Bart Van Assche.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to