in reply to Re: Locking and synchronisation within tied hashes
in thread Locking and synchronisation within tied hashes
Are there are any caveats or disadvantages which I should be aware of in acquiring and holding a shared lock for the duration of the life of the tied object?
Update - Curiously, while I would expect that a shared lock would be appropriate for the EXISTS method, the module MLDBM::Sync which perrin referred me to here actually calls upon an exclusive lock for calling upon the EXISTS method of the underlying file store.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Locking and synchronisation within tied hashes
by Aristotle (Chancellor) on Sep 08, 2002 at 13:28 UTC | |
by rob_au (Abbot) on Sep 08, 2002 at 13:35 UTC | |
by Aristotle (Chancellor) on Sep 08, 2002 at 13:47 UTC |