[Bug 24164] Wine is not data-race detector friendly

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 1 10:09:04 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24164

--- Comment #9 from Bart Van Assche <bart.vanassche at gmail.com> 2010-09-01 10:09:03 CDT ---
(In reply to comment #8)
> You certainly don't want to add annotations all over the place. If there are
> really that many false positives it sounds like the tool needs improving.

I'm afraid that the above statement means you are not familiar with data race
detection tools. The annotations I added are necessary for every existing data
race detection tool - whether it is DRD, Helgrind or VTune.

As an example, the global variable 'server_start_time' is updated by multiple
threads without protection by a critical section or any other mutual exclusion
primitive. The only way to avoid that data race detection tools complain on
such an access pattern is to add a suppression for that access pattern.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list