Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: flock, not unflocking

by ftforger (Sexton)
on Feb 15, 2001 at 20:49 UTC ( #58644=note: print w/replies, xml ) Need Help??


in reply to flock, not unflocking

First, something that has been implied but not stated outright: What O/S are you using. Some do not do flock properly. Second, since your example says its doing the lock first and then attempts the lock, but never prints the 'done' message (you said it locks up after printing the message) I would say that something else may be wrong with how you are attempting the flock, OR something else has the file locked and your program is waiting to acquire the lock.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://58644]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-05-19 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?