static PREF_CACHE: Mutex<Option<(u64, PathBuf, PrefsMap)>>Expand description
Avoid re-reading preferences.toml on every hot path (e.g. get_process_stats once per second).
Cache entries are keyed by the resolved preferences path so parallel tests (each with a
thread-local temp data dir) and the main app never share a PrefsMap across different files.