I want to signal a pthread condition variable without holding the
associated mutex.  DRD (correctly) flags this as an error, but I want
to suppress the error.  I'd like to do it with a client request like
DRD_IGNORE_VAR.  I tried putting this on the cond and the mutex, and
the error is still reported.  Using --gen-suppressions won't work
because there are lots of different stacks that trigger this, and the
optimizer, especially with -flto, messes with the function names in a
different way each time we build.  Is there any other way to suppress
this error?  I see ANNOTATE_CONDVAR_* but they are all no-ops.

-- 
Cheers,
Leif

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to