Forks-Queue
view release on metacpan or search on metacpan
lib/Dir/Flock.pm view on Meta::CPAN
# =head1 SEE ALSO L<Mail::Box::Locker::NFS>, L<File::NFSLock>.
# L<File::SharedNFSLock>, L<IPC::ConcurrencyLimit::Lock::NFS>
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Dir::Flock
You can also look for information at:
=over 4
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/Dir-Flock>
=item * E<lt>mob@cpan.orgE<gt>
With the decommissioning of http://rt.cpan.org/,
please send bug reports and feature requests
directly to the author's email address.
=back
=head1 AUTHOR
Marty O'Brien, E<lt>mob@cpan.orgE<gt>
=head1 LICENSE AND COPYRIGHT
Copyright (c) 2019-2020, Marty O'Brien
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
See http://dev.perl.org/licenses/ for more information.
=cut
=begin TODO
Heartbeat
a running process should be able to update the timestamp of
their lockfiles (either the mtime known to the filesystem or
in the file data themselves) to let other processes (on the
same and other hosts) know that the locking process is still
alive. Can you do that without releasing the lock?
Include heartbeat data in the file names?
Threads
In _ping_oldest_file , how to detect whether a thread is
still alive? How to detect whether a thread on a remote
machine is still alive?
=end TODO
( run in 0.671 second using v1.01-cache-2.11-cpan-39bf76dae61 )