Log::Di...::Mutex(3)

okay so bestie, this is the manual page for Log::Di...::Mutex(3) from User Contributed Perl Documentation β€” and yes, it is exactly as short and mysterious as it looks πŸ’…

🌸 NAME 🌸

Log::Dispatch::FileRotate::Mutex β€” Flock Based File Mutex.

✨ VERSION ✨

version 1.38 β€” that's the tea β˜•

πŸ¦‹ SYNOPSIS πŸ¦‹

Internal Use Only!

🌈 DESCRIPTION 🌈

Internal Use Only!

πŸ’… METHODS πŸ’…

πŸŽ€ new($path) πŸŽ€

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.

πŸ”’ 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.

πŸ”“ unlock() πŸ”“

Releases the lock if the current thread or process is holding it.

🫢 pid(): string 🫢

Get the current process or thread id.


πŸ”₯ SOURCE πŸ”₯

The development version is on github at https://https://github.com/mschout/perl-log-dispatch-filerotate and may be cloned from git://https://github.com/mschout/perl-log-dispatch-filerotate.git

πŸ› BUGS πŸ›

Please report any bugs or feature requests on the bugtracker website https://github.com/mschout/perl-log-dispatch-filerotate/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

πŸ‘‘ AUTHOR πŸ‘‘

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.


okay bye bestie 🫢 this cute little page is from perl v5.32.1 and dated 2021-05-27 πŸ’œ

πŸ“¦ where this page comes from