On Wed, 21 Mar 2001, Stas Bekman wrote: > > You mean with DB_File? There's a big warning in the current version > > saying not to do that, because there is some initial buffering that > > happens when opening a database. > > The warning says not to lock on dbm fd but an external file! I think you'll still have problems with this technique, unless you tie/untie every time. I'm looking at the perldoc for DB_File version 1.76, at the section titled "Locking: the trouble with fd". At the very least, you'd have to call sync after acquiring a write lock but before writing anything. - Perrin
- dbm locking info in the guide Perrin Harkins
- Re: dbm locking info in the guide Stas Bekman
- Re: dbm locking info in the guide Perrin Harkins
- Re: dbm locking info in the guide Stas Bekman
- RE: dbm locking info in the guide Perrin Harkins
- RE: dbm locking info in the guide David Harris
- RE: dbm locking info in the guide Stas Bekman
- Re: dbm locking info in the g... Perrin Harkins
- Re: dbm locking info in the g... Stas Bekman
- Re: dbm locking info in the g... Perrin Harkins
- Re: dbm locking info in the g... Stas Bekman
- RE: dbm locking info in the g... David Harris
- RE: dbm locking info in the g... Stas Bekman
- RE: dbm locking info in the g... David Harris
- RE: dbm locking info in the g... Stas Bekman