HomePhabricator

ecore_wl2: Make our wayland socket handling thread safe

Authored by ManMower on Feb 13 2019, 6:58 AM.

Description

ecore_wl2: Make our wayland socket handling thread safe

By using the prepare read code properly we can do wayland dispatch of
multiple queues in multiple threads. I'm not advocating we ever do so,
but if a library (perhaps a gl implementation) wants to dispatch its own
queue, and that happens in a separate thread from our event loop, we
probably don't want the world to explode.

Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7915

Details

Committed
ManMowerFeb 13 2019, 8:33 AM
Differential Revision
D7915: ecore_wl2: Make our wayland socket handling thread safe
Parents
rEFL66ce295fc9d0: ecore_main: Add ECORE_FD_ALWAYS flag
Branches
Unknown
Tags
Unknown