1Log::Dispatch::FileRotaUtsee:r:MCuotnetxr(i3b)uted PerlLDoogc:u:mDeinstpaatticohn::FileRotate::Mutex(3)
2
3
4
6 Log::Dispatch::FileRotate::Mutex - Flock Based File Mutex.
7
9 version 1.36
10
12 Internal Use Only!
13
15 Internal Use Only!
16
18 new($path)
19 Create a new mutex for the given file path. Only one mutex per path
20 should be created. The path will not actually be opened or locked
21 until you call lock.
22
23 lock()
24 Obtains a lock on the path. If the thread id or pid has changed since
25 the path was opened, the path will be re-opened automatically in this
26 thread or process.
27
28 unlock()
29 Releases the lock if the current thread or process is holding it.
30
31 pid(): string
32 Get the current process or thread id
33
35 The development version is on github at
36 <https://https://github.com/mschout/perl-log-dispatch-filerotate> and
37 may be cloned from
38 <git://https://github.com/mschout/perl-log-dispatch-filerotate.git>
39
41 Please report any bugs or feature requests on the bugtracker website
42 <https://github.com/mschout/perl-log-dispatch-filerotate/issues>
43
44 When submitting a bug or request, please include a test-file or a patch
45 to an existing test-file that illustrates the bug or desired feature.
46
48 Michael Schout <mschout@cpan.org>
49
51 This software is copyright (c) 2005 by Mark Pfeiffer.
52
53 This is free software; you can redistribute it and/or modify it under
54 the same terms as the Perl 5 programming language system itself.
55
56
57
58perl v5.28.1 2018-07-29Log::Dispatch::FileRotate::Mutex(3)