Re: My way to check if a progam is already running



Jan Panteltje <pNaonStpealmtje@xxxxxxxxx> writes:
On a sunny day (Mon, 25 Jun 2007 17:45:40 +0200) it happened Rainer Weikusat
<rweikusat@xxxxxxxxxxx> wrote in <87y7i89gwr.fsf@xxxxxxxxxxxxxxxxx>:

Jan Panteltje <pNaonStpealmtje@xxxxxxxxx> writes:
On a sunny day (Mon, 25 Jun 2007 16:05:15 +0200) it happened Rainer Weikusat
<rweikusat@xxxxxxxxxxx> wrote in <873b0gb04k.fsf@xxxxxxxxxxxxxxxxx>:
If it did not succeed, but errno was EAGAIN then what would you do?

*fer crissake* 'the second loop' refers to THE SECOND LOOP, not to the
second iteration of the first loop ...

So you get religious about it... I as refering to the second loop.
man lockf

Then please be so kind to refrain from abusing my postings to talk
about totally unrelated stuff in future.

Look idiot, I started this thread, post some code if you can do
better else shut the *** up.

See, this is Usenet, meaning, people use it to discuss about
stuff. You have posted a code sample which contained a loop without
purpose. The purpose of me pointing at this was not necessarily to get
you to understand thar (after all, since you wrote this POS, the chances
that you ever will are fairly dim), but more because I am interested
in discussing code. Since you are quite obviously not interested in
discussing code, you could (stretching credibility quite a bit)
perhaps try to be a nice person and not waste everybody's time with
extended postings containing random nonsense. Nobody really cares if
you have a problem admitting that your coding skills are, let's say,
'such that they would warrant improvement'. This only prevents you
from ever learning how to improve them.
.