Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: How to make sure that non-Perl programs will respect Perl's file locking?

by kscaldef (Pilgrim)
on Jan 11, 2006 at 18:02 UTC ( [id://522515]=note: print w/replies, xml ) Need Help??


in reply to Re: How to make sure that non-Perl programs will respect Perl's file locking?
in thread How to make sure that non-Perl programs will respect Perl's file locking?

Don't write code like that. Polling when there's a perfectly good blocking system call is a huge waste of CPU and I/O resources. If you actually had an application with any non-trivial lock contention, this sort of code will probably cripple your server.
  • Comment on Re^2: How to make sure that non-Perl programs will respect Perl's file locking?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-25 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found