Graeme Geldenhuys wrote:
> On 28/09/06, John vd Waeter <[EMAIL PROTECTED]> wrote:
>> Problem when program crashes. File is not deleted. Maybe refresh file
>> every 5 minutes or so, put a timestamp in it. If timestamp older then 5
>> minutes, program appearantly crashed, new instance may start.
>>
>> John
>
>
> Simple solution, program with Unit Tests, so you app is rock solid and
> will never crash. :-)
>
> PS:
> Anybody know if mutexes in Linux is system wide?
IIRC we tried something global. Problem was that if the program crashed
the "lock" wasn't released, so not other instence could start after a crash.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives