<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_NEW "
   title="NEW - 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;">CC</td>
           <td>
                
           </td>
           <td>psychon@znc.in
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TSan data races with freed_pool_t's |top| data member"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90318#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 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>Created <span class=""><a href="attachment.cgi?id=121989" name="attach_121989" title="Hack adding C11 atomics for setting pool->top">attachment 121989</a> <a href="attachment.cgi?id=121989&action=edit" title="Hack adding C11 atomics for setting pool->top">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=90318&attachment=121989'>[review]</a>
Hack adding C11 atomics for setting pool->top

The attached patch uses C11 atomics for setting and reading pool->top. Could
someone check if this patch makes TSan happy?

If so, that someone should also pick up this work and add C11 atomic support
for cairo-atomic-private.h (and configure). Afterwards, _cairo_atomic_int_set()
could be added to this and the freed pool can be fixed up to work properly.
I'm not interested in doing this work myself.</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>