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

Jonas Ådahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Jonas Ådahl <[email protected]> ---
Marking this as fixed now, since the following patch is now merged:

commit 0edeeb9cd5806959660af54d63fe9d402d50e6e7
Author: Jonas Ådahl <[email protected]>
Date:   Fri Oct 2 11:12:02 2015 +0800

    client: Correct documentation regarding thread safeness

    The current documentation about wl_display_dispatch() states one may not
    mix wl_display_dispatch(_queue)() with wl_display_prepare_read() and
    friends, but this is a misconception about how
    wl_display_dispatch(_queue)() works. The fact is that the dispatch
    functions does the equivalent of what the preparation API does
    internally, and it is safe to use together.

    What is not safe is to dispatch using the wl_display_dispatch(_queue)()
    functions while being prepared to read using wl_display_read_events().

    This patch rewrites the documentation to correctly state when the
    various API's are thread safe and how they may not be used.

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

    Signed-off-by: Jonas Ådahl <[email protected]>
    Reviewed-by: Daniel Stone <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to