in reply to Re: flock, not unflocking
in thread flock, not unflocking
it prints flocking now . and freezes. If I make a copy of the file, delete the original, and then copy the copy back to the original name like so:print "flocking now\n"; flock (FILE, 2); print "done flocking\n";
copy foo bar rm foo copy bar foo rm bar
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: flock, not unflocking
by repson (Chaplain) on Feb 15, 2001 at 13:08 UTC | |
by tye (Sage) on Feb 15, 2001 at 20:38 UTC |