in reply to
Re: Re: Re: Re: correct usage of flock?
in thread
correct usage of flock?
Except I have only one process, set to append, in a directory it has permission to create files in, so that should be OK, yes?
Comment on
Re: correct usage of flock?
Replies are listed 'Best First'.
Re: Re: correct usage of flock?
by
sierrathedog04
(Hermit)
on Jun 06, 2001 at 23:29 UTC
It worked for me in Mandrake Linux 8. I took your script and moved the unlock to the very last statement. The single process was able to delete a file while it had an exclusive lock on it.
[reply]
In Section
Seekers of Perl Wisdom