in reply to mkfifo/mknode
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: mkfifo/mknode
by azaria (Beadle) on Jun 14, 2006 at 13:08 UTC | |
by Moron (Curate) on Jun 14, 2006 at 14:02 UTC |