Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: flock, not unflocking

by ftforger (Sexton)
on Feb 15, 2001 at 20:49 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-19 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found