module documentation

Lockfiles to prove liveliness

When requesting resources, like locks, from wconfd, requesters have to provide the name of a file they own an exclusive lock on, to prove that they are still alive. Provide methods to obtain such a file.

Class LiveLock Utility for a lockfile needed to request resources from WconfD.
Function GuessLockfileFor For a given name, take the latest file matching.
def GuessLockfileFor(name):

For a given name, take the latest file matching.

Returns
the file with the latest name matching the given prefix in LIVELOCK_DIR, or the plain name, if none exists.