[Git][wine/wine][master] winewayland.drv: Avoid ABBA deadlocks between win_data_mutex and user_mutex.
Alexandre Julliard pushed to branch master at wine / wine Commits: a334c147 by Jiangyi Chen at 2026-07-24T22:18:38+02:00 winewayland.drv: Avoid ABBA deadlocks between win_data_mutex and user_mutex. Make the lock acquisition order consistent: always acquire the user_mutex lock on the user32 side first, and then the win_data_mutex on the wayland side. Otherwise, when the CCTV Video main program starts, there is a nearly 40% probability of a race deadlock between set_client_surface and update_surface_region (which indirectly calls wayland_window_surface_flush). Signed-off-by: Jiangyi Chen <chenjiangyi@uniontech.com> - - - - - 2 changed files: - dlls/winewayland.drv/wayland_surface.c - dlls/winewayland.drv/window.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a334c147f81eac361c70fd1b7f67ed4... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a334c147f81eac361c70fd1b7f67ed4... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)