<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 - Wine locks up when running multithreaded applications that touch both OpenGL and X11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=54671">bug 54671</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 - Wine locks up when running multithreaded applications that touch both OpenGL and X11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=54671#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Wine locks up when running multithreaded applications that touch both OpenGL and X11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=54671">bug 54671</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>Sorry for not using your patch, but there must always be a thread reading from
the socket when there is one that writes.

commit 23911a707b8845bff52cd7853fc5d59fb0823cef
Author: Uli Schlachter <<a href="mailto:psychon@znc.in">psychon@znc.in</a>>
Date:   Mon Sep 24 22:07:51 2012 +0200

    Fix a multi-thread deadlock

    This fixes a deadlock which was seen in-the-wild with wine.

    It could happen that two threads tried to read from the socket at the same
time
    and one of the thread got stuck inside of poll()/select().

    The fix works by making sure that the writing thread doesn't steal the
reading
    thread's reply.

    Debugged-by: Erich Hoover <<a href="mailto:ehoover@mines.edu">ehoover@mines.edu</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Wine locks up when running multithreaded applications that touch both OpenGL and X11"
   href="show_bug.cgi?id=54671">https://bugs.freedesktop.org/show_bug.cgi?id=54671</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>