Log::Dispatch::FileRotate::Mutex - Flock Based File Mutex.
version 1.34
Internal Use Only!
Create a new mutex for the given file path. Only one mutex per path should be created. The path will not actually be opened or locked until you call lock.
Obtains a lock on the path. If the thread id or pid has changed since the path was opened, the path will be re-opened automatically in this thread or process.
Releases the lock if the current thread or process is holding it.
Get the current process or thread id
The development version is on github at https://github.com/mschout/perl-log-dispatch-filerotate and may be cloned from git://github.com/mschout/perl-log-dispatch-filerotate.git
Please report any bugs or feature requests to bug-log-dispatch-filerotate@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Log-Dispatch-FileRotate
Michael Schout <mschout@cpan.org>
This software is copyright (c) 2005 by Mark Pfeiffer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Log::Dispatch::FileRotate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Dispatch::FileRotate
CPAN shell
perl -MCPAN -e shell install Log::Dispatch::FileRotate
For more information on module installation, please visit the detailed CPAN module installation guide.