Name : perl-File-FcntlLock
| |
Version : 0.120.0
| Vendor : Mandriva
|
Release : 6
| Date : 2012-01-22 20:40:49
|
Group : Development/Perl
| Source RPM : perl-File-FcntlLock-0.120.0-6.src.rpm
|
Size : 0.03 MB
| |
Packager : Oden Eriksson < oeriksson_mandriva_com>
| |
Summary : File locking with fcntl()
|
Description :
File locking in Perl is usually done using the the flock() manpage function. Unfortunately, this only allows locks on whole files and is often implemented in terms of the flock(2) manpage, which has some shortcomings.
Using this module file locking via the fcntl(2) manpage can be done (obviously, this restricts the use of the module to systems that have a the fcntl(2) manpage system call). Before a file (or parts of a file) can be locked, an object simulating a flock structure must be created and its properties set. Afterwards, by calling the \'lock()\' method a lock can be set or it can be determined if and which process currently holds the lock.
To create a new object representing a flock structure call \'new()\':
|
RPM found in directory: /vol/rzm6/linux-mandriva/devel/cooker/i586/media/main/release |