• Zhiyi Zhang's avatar
    uxtheme: Save temporary system metrics to a struct in memory. · aefcd057
    Zhiyi Zhang authored
    So that temporary system metrics are not saved in the registry. Saving
    them to the registry creates a race condition when two processes are
    trying to activate theming at the same time, one process might save
    themed system metrics instead of unthemed system metrics to the registry.
    The race condition will be more apparent when initializing a wine prefix
    after theming is turned on by default in wine.inf.
    
    This patch refactors the system metric helper functions to use an
    in-memory struct and is a prerequisite to remove the race condition.
    Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    aefcd057
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...