[cairo-bugs] [Bug 90303] ATOMIC_OP_NEEDS_MEMORY_BARRIER doesn't play well with ThreadSanitizer
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 4 09:06:09 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90303
--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
You have to assume someone will try compiling on Solaris and complain...
Basically do:
#if HAS_GCC(5,0)
#define COMPILER_HAS_ATOMIC
#endif
#if COMPILER_HAS_ATOMICS
/* Use modern version: even include a lesson on ThreadSanitizer */
#else
/* The current file */
#endif
Change as required. If the current set of operations are not sufficient, or if
there are places in the code not adhering to even the current rules, please do
those as follow up patches. They would be good examples of ThreadSantizer at
work...
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150504/70bd0df3/attachment.html>
More information about the cairo-bugs
mailing list