<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wl_display_roundtrip() seems not thread-safe"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83304#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wl_display_roundtrip() seems not thread-safe"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83304">bug 83304</a>
              from <span class="vcard"><a class="email" href="mailto:courmisch@gmail.com" title="Remi Denis-Courmont <courmisch@gmail.com>"> <span class="fn">Remi Denis-Courmont</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=83304#c4">comment #4</a>)
<span class="quote">> > The deadlock is there, right below FIXME:
> > 
> > <a href="https://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/wl/shm.c">https://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/wl/shm.c</a>;
> > hb=2.2.0-git-662-ge08f4fc#l184

> That is broken like I explained above, it runs in a different thread,
> doesn't it?</span >

Yes. But now you seem to imply that running wl_display_roundtrip() in parallel
to a threaded mainloop is not meant to work. Well, the Wayland developers are
free to "define" their API the way they feel like, so that is fine.

But then I don't understand what you meant by "it all works if all threads
follow the polling protocol documented". That seems contradictory.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>