Re: My way to check if a progam is already running
- From: Jan Panteltje <pNaonStpealmtje@xxxxxxxxx>
- Date: Sat, 23 Jun 2007 11:26:41 GMT
On a sunny day (Sat, 23 Jun 2007 12:05:34 +0200) it happened Michal Nazarewicz
<mina86@xxxxxxx> wrote in <871wg3j89d.fsf@xxxxxxxxxxxxxxxx>:
With the above code I think it is not possible to start two instances in
such a way that both will continue running. The worst case is that they
both will abort. (It's still a bug.)
I still don't see why you don't want to lock a file at the start and
unlock it when program terminates. It's way simpler operation:
Yes, but then you have 2 GUI up for example, and then user selects a number
of entries (headers) in the second GUI (first one is hidden behing something),
and goes online to get the article bodies and THEN gets an error message when
the reader wants to start writing to the locked files.
Usually I mark about 50 to 100 entries, a lot of work for nothing.
It is better to prevent instance 2 from running at all.
.
- Follow-Ups:
- Re: My way to check if a progam is already running
- From: Michal Nazarewicz
- Re: My way to check if a progam is already running
- References:
- My way to check if a progam is already running
- From: Jan Panteltje
- Re: My way to check if a progam is already running
- From: Michal Nazarewicz
- Re: My way to check if a progam is already running
- From: Jan Panteltje
- Re: My way to check if a progam is already running
- From: Michal Nazarewicz
- Re: My way to check if a progam is already running
- From: Jan Panteltje
- Re: My way to check if a progam is already running
- From: Michal Nazarewicz
- My way to check if a progam is already running
- Prev by Date: Re: My way to check if a progam is already running
- Next by Date: Re: My way to check if a progam is already running
- Previous by thread: Re: My way to check if a progam is already running
- Next by thread: Re: My way to check if a progam is already running
- Index(es):