On Thu, Aug 27, 2009 at 3:51 AM, Jeff Johnson<n3...@mac.com> wrote:
> I'm using helgrind from 3.5.0 on OPENMP code.
>
> I have a lazily malloc'd pthread mutex in a static global
> variable that helgrind detects.
>
> I'd like to disable the warning somehow in code, not
> with a suppression, so that I can look at more interesting
> errors.
>
> So far I've failed to be able to annotate the code to avoid the warning.

I'm not familiar with all the details of Helgrind. But I know that DRD
has a macro called DRD_IGNORE_VAR() that allows to suppress data race
reports on any memory range.

Bart.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to