> Ok, what about calling sync before accesing the database? (read and write) > Will it force the process to sync its data with the disk, or will it cause > the corruption of the file on the disk, as the process might have a stale > data? Well, that's what we don't know. As David Harris pointed out, if it does do the right thing and re-read from disk, it's probably not much better than re-opening the database. I suppose it would avoid some Perl object creation though, so it would be at least a little faster. - 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
- 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
- Re: dbm locking info in the guide Stas Bekman