• Alexandros Frantzis's avatar
    win32u: Use consistent locking order for display related mutexes. · 26e3d2ec
    Alexandros Frantzis authored
    Most paths that hold both the display_lock and the display_devices_init
    mutex acquire them in the order just mentioned. However, there are two
    cases where these are acquired in the opposite order, which with
    unfortunate thread interactions and timings can lead to a deadlock. Fix
    these cases to use the same order as the rest of the code.
    26e3d2ec
sysparams.c 231 KB