[vlc-devel] [vlc-commits] commit: Qt: save volume on exit ( Francois Cartegnie )
Francois Cartegnie
fcvlcdev at free.fr
Fri Jul 30 14:10:07 CEST 2010
Le vendredi 30 juillet 2010, vous avez écrit :
>
> It should be obvious to anyone writing VLC code that you can't change
> random data shared by multiple threads.
I picked config_SaveConfigFile because it is the code associated to the "Save"
button. I don't why the user choice would provide better thread safe guarantee
doing a config_SaveConfigFile though the prefs window at time T, and saving
the same variables at time T+1. If it's prefs variables, it should still be
untouched.
The only pointed-out problem was that I saving prefs that were not intended to
be saved, and without user's consent.
Francois
More information about the vlc-devel
mailing list