[Wayland-bugs] [Bug 91767] wl_display_dispatch(_queue) documentation about thread safeness is probably wrong
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 26 19:32:36 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91767
Bug ID: 91767
Summary: wl_display_dispatch(_queue) documentation about thread
safeness is probably wrong
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: wayland
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: jadahl at gmail.com
There is documentation about wl_display_dispatch() states one may not mix
wl_display_dispatch(_queue) with wl_display_prepare_read() and friends, but
this is probably a common misconception, because internally,
wl_display_dispatch_queue() is implemented in the same way as one would use
wl_display_prepare_read() and friends, just without using those functions.
I have patches in progress that changes wl_display_dispatch_queue() to simply
use wl_display_prepare_read() and related API internally to make this more
obvious.
--
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/20150827/2548ff50/attachment.html>
More information about the wayland-bugs
mailing list