You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Settings stream access is not synchronized cross process #463
The base settings stream set/get functions are not synchronized cross process (nor in process either, but since things are largely single threaded, not a big deal). This probably does not apply to the app setting container streams, but the file streams created by std::fstream and kin are not exclusive.
The first step would be to simply prevent corrupt data via use of a CrossProcessReaderWriteLock when the fstream is open.
The next step would be to change the setting stream functionality to be more object oriented, allowing for read then write functionality while holding the exclusive lock.
Steps to reproduce
Attempting to manage sources from multiple processes could lead to corrupted data. This includes running winget concurrently, triggering multiple automatic updates that
Activity