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?? |
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.
In Section
Seekers of Perl Wisdom
|
|