|Next||The Perl Hardware Store||DC.pm Version||27|
On some systems, you can't LOCK_EX a file that is only open for reading
Solution: Open the semaphore file for writing and LOCK_EX it instead
How do you lock an entire directory at once?
Solution: Lock a semaphore file instead
Processes deadlock when locking several files in sequence
Solution: Represent the entire group with a single semaphore
|Next||Copyright © 2003 M. J. Dominus|