[Wayland-bugs] [Bug 83304] wl_display_roundtrip() seems not thread-safe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 1 12:50:27 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83304

--- Comment #6 from Remi Denis-Courmont <courmisch at gmail.com> ---
(In reply to comment #4)
> > The deadlock is there, right below FIXME:
> > 
> > https://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/wl/shm.c;
> > hb=2.2.0-git-662-ge08f4fc#l184
> 
> That is broken like I explained above, it runs in a different thread,
> doesn't it?

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140901/e42b31da/attachment.html>


More information about the Wayland-bugs mailing list