[cairo-bugs] [Bug 90318] TSan data races with freed_pool_t's |top| data member
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 5 13:37:35 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=90318
Uli Schlachter <psychon at znc.in> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Uli Schlachter <psychon at znc.in> ---
$ git am -s /tmp/attachment.cgi\?id=122070
* Running commit-msg hook
fatal: Summary is way too long. (153 characters)
Ok, let's try that again.
commit 3538ac3e68f997d95d76865247717c90ae73630d
Author: Wan-Teh Chang <wtc at google.com>
Date: Tue Mar 1 17:48:55 2016 -0800
Fix data race in freed_pool
This adds _cairo_atomic_int_get_relaxed and _cairo_atomic_int_set_relaxed
which
are meant to have a behaviour of relaxed read/writes in C11's memory model.
This
patch also uses these new function to fix a data race with freed_pool_t's
|top|
data member.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90318
Signed-off-by: Wan-Teh Chang <wtc at google.com>
Signed-off-by: Uli Schlachter <psychon at znc.in>
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160305/89737e12/attachment.html>
More information about the cairo-bugs
mailing list