Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 cooling their heels in the Monastery: (5)
As of 2024-07-25 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.