> I'm working on a simple app to make use of the ipaq's buttons and of
> course I don't want to start 20 sessions of mingle if I hit the 2nd
> button a little too often. :)
Something as simple as doing
open lockfile
flock lockfile
exec binary
will work. The binary will close the lock file when it exits,breaking the
lock. flock allows you to test a lock so you can avoid blocking taking it
Received on Sun Dec 30 2001 - 16:15:41 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:18:57 EDT