Update: What I meant to say is that I use flock on the file itself to be locked, not on a separate lock file - it doesn't quite work like that.
I have done what you are doing on occasion, but in that case I opened the lock file '+<', did the flock and then a seek 0 and (over-) wrote the pid for testing, though I left that in there for support purposes.
-M
Free your mind
In reply to Re: mkfifo/mknode
by Moron
in thread mkfifo/mknode
by azaria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |