[Wayland-bugs] [Bug 763852] New: gdk/wayland: event source is not multi-thread aware

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 18 07:23:07 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763852

            Bug ID: 763852
           Summary: gdk/wayland: event source is not multi-thread aware
    Classification: Platform
           Product: gtk+
           Version: 3.19.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: ystreet00 at gmail.com
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

The current usage of the Wayland dispatching API is not conducive to
multi-threaded usage and as a result, using Wayland from multiple threads can
lead to deadlocks. e.g. GStreamer and/or EGL usage off the main thread will hit
Wayland from multiple threads.

>From the Wayland man pages, the solution is to use the
wl_display_prepare_read(), wl_display_read_events() and
wl_display_cancel_read() family of functions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160318/338461e7/attachment.html>


More information about the wayland-bugs mailing list