PREF_RMW_LOCK

Static PREF_RMW_LOCK 

Source
static PREF_RMW_LOCK: Mutex<()>
Expand description

Serializes read-modify-write preference updates so concurrent prefs_set / prefs_remove calls (e.g. color scheme + removing customSchemeVars) cannot clobber each other on disk.