dctc-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dctc-general] A couple of old wishes from debian users


From: eric
Subject: Re: [Dctc-general] A couple of old wishes from debian users
Date: Wed, 4 Jun 2003 19:19:52 +0200
User-agent: KMail/1.5

> The strange thing is that the .cmd files are in place and their
> content looks normal. It must be sth. else, maybe with the .lock
> file? How does the .lock mechanism works in dctc/dcgui?

the .lock file is used to tell others program the GDL is used (attached) by a 
program. dc_gui never keeps the lock, it just tests it to know if the GDL is 
attached. DCTC only use the .lock file when you try to attach a GDL 
(/GDLATTACH), it locks the file and keep the lock as long as the GDL remains 
attached. If DCTC crashs, the kernel automatically release the lock and if 
the system is rebooted (or has crashed), the lock was also released.

You should check with lsof if a program has kept the lock.

> Aren't you doing some time/date checks on .lock files?

no, only flock test.

Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]