in reply to
correct usage of flock?
Are the other programs that write to this file using flock also? flock is useless unless everything that writes to it uses it.
Comment on
Re: correct usage of flock?
Replies are listed 'Best First'.
Re: correct usage of flock?
by
cLive ;-)
(Prior)
on Jun 06, 2001 at 06:51 UTC
yes, the append script uses flock, and is on same server. So I could check whether it's locked, and move it if it isn't? Seams like the best solution to me.
cLive ;-)
[reply]
In Section
Seekers of Perl Wisdom