Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to do atomic file locking?

by mlawren (Sexton)
on Aug 26, 2015 at 19:05 UTC ( [id://1140102]=note: print w/replies, xml ) Need Help??


in reply to How to do atomic file locking?

An alternative to file locking is socket locking. You might find some inspiration in the source of my Lock::Socket module. Basically, a process cannot bind an already bound socket.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-23 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found