Locking of open tellico file?
Jerome Quelin
jquelin at gmail.com
Mon Apr 16 01:18:03 MDT 2007
On 07/04/15 23:13 -0700, Robby Stephenson wrote:
> On Saturday 14 April 2007, Norbert Nemec wrote:
> > over and over again, I happened to accidentally open two instances of
> > tellico in parallel leading to the loss of changes done in one of them,
> > when I save from the other. Could the file be locked at opening as it is
> > done in many other programs?
>
> I guess so. I'm not sure how. Once all the data is read, the file is closed.
> If I created a lock file or wrote some setting, then after crashes, you run
> into that old Netscape problem where the dialog comes up saying "delete the
> lock file before running"
well, you can always create a pid file, and issue a kill -0 on this pid.
regards,
jérôme
--
jquelin at gmail.com
More information about the tellico-users
mailing list