Alexandros Frantzis : winewayland.drv: Make access to Wayland output information thread-safe.
Module: wine Branch: master Commit: 1a336a259ce58def1d435ffe8f3ee50900d7cb76 URL: https://gitlab.winehq.org/wine/wine/-/commit/1a336a259ce58def1d435ffe8f3ee50... Author: Alexandros Frantzis <alexandros.frantzis(a)collabora.com> Date: Wed Apr 26 10:38:04 2023 +0300 winewayland.drv: Make access to Wayland output information thread-safe. Store all incoming Wayland output state as pending and make it current in a thread-safe way when the "done" event arrives. This enables other threads, with proper locking, to safely read consistent and complete Wayland output information. --- dlls/winewayland.drv/Makefile.in | 2 +- dlls/winewayland.drv/display.c | 10 ++- dlls/winewayland.drv/wayland.c | 5 +- dlls/winewayland.drv/wayland_output.c | 115 +++++++++++++++++++++++++--------- dlls/winewayland.drv/waylanddrv.h | 18 ++++-- 5 files changed, 112 insertions(+), 38 deletions(-)
participants (1)
-
Alexandre Julliard