<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - TSan data races with freed_pool_t's |top| data member"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90318">bug 90318</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - TSan data races with freed_pool_t's |top| data member"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90318#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - TSan data races with freed_pool_t's |top| data member"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90318">bug 90318</a>
from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
<pre>$ 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 <<a href="mailto:wtc@google.com">wtc@google.com</a>>
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: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - TSan data races with freed_pool_t's |top| data member"
href="show_bug.cgi?id=90318">https://bugs.freedesktop.org/show_bug.cgi?id=90318</a>
Signed-off-by: Wan-Teh Chang <<a href="mailto:wtc@google.com">wtc@google.com</a>>
Signed-off-by: Uli Schlachter <<a href="mailto:psychon@znc.in">psychon@znc.in</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>