Hi David,

No locking occurs with "Use (Storage)” by itself.

But locking does occur for **first level** attributes of Storage.

So “Use (Storage.pref)” performs locking in other processes.

To prevent “Storage.pref” from being updated in a separate process, call:

Use (Storage.pref)
  // make modifications to pref
End Use

More details at:
https://doc.4d.com/4Dv17R3/4D/17-R3/Storage.301-3907264.en.html 
<https://doc.4d.com/4Dv17R3/4D/17-R3/Storage.301-3907264.en.html>

Best regards,
Jeremy

> On Feb 1, 2019, at 4:45 PM, David Ringsmuth via 4D_Tech 
> <[email protected]> wrote:
> 
> My test show that
> 
> Use(Storage)
> ….
> 
> Does not lock Storage.pref, and does not prevent Storage.pref from being 
> updated in a separate process.

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to