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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 1 23:30:04 PDT 2014


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

--- Comment #8 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to comment #7)
> Your semaphore replacement looks like it should work, but then it assumes
> that there actually is another thread dispatching the default queue. If you
> call your semaphore version from the "main" thread that is responsible for
> dispatching the default 

Argh, finger slipped to a wrong key...

If you call your semaphore version from the "main" thread that is responsible
for dispatching the default queue, then the roundtrip will never complete,
because nothing is dispatching the queue.

-- 
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/20140902/3844e982/attachment.html>


More information about the Wayland-bugs mailing list