Dir-Flock
view release on metacpan or search on metacpan
lib/Dir/Flock.pm view on Meta::CPAN
=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? "touch" lock files
at the heartbeat so that the mtime's are updated?
Threads
In _ping_oldest_file , how to detect whether a thread is
still alive? How to detect whether a process or thread on
a remote machine is still alive?
If a SyncObject2 is inherited in a fork or a thread,
will DESTROY release its lock?
=end TODO
( run in 1.035 second using v1.01-cache-2.11-cpan-483215c6ad5 )