Re: Re: [iPAQ] run-once ?

From: Alan Cox <alan.a.t.lxorguk.ukuu.org.uk>
Date: Mon Dec 31 2001 - 08:35:31 EST

> > numerous places and could reliably be used to check for running
> > instances. much like ps, only without invoking an external program.
>
> Well, but how do you avoid race conditions? That is, by the time you're
> finished looping through all the /proc/(pid)'s, what's to stop something else
> from having started a new process?

Or another program with the same name
Received on Mon Dec 31 05:25:07 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:27 EDT