[Gambas-user] Concurrent gb.settings

Benoît Minisini g4mba5 at gmail.com
Sun Apr 29 21:27:55 CEST 2018


Le 29/04/2018 à 20:39, PICCORO McKAY Lenz a écrit :
> This is a old mail, but interested me, that i try to make some kind of 
> framework for my apps..
> 
> what the status of that problem Tobias? see below the message:
> 

A Settings object is now saved only if it has been modified, so there is 
no need for an explicit ReadOnly property.

But the saving concurrency management is still flawed, but I can now fix 
it correctly with the new MOVE ... KILL ... instruction.

The file won't be corrupted... but you can't expect modifying the file 
with two different processes at the same time. The last process written 
the file will override the changes of the previous one.

Regards,

-- 
Benoît Minisini


More information about the User mailing list