10 #ifndef __KVLOCKFILE_H
11 #define __KVLOCKFILE_H
#define ClassDef(name, id)
Interface to (Linux) system lockfile command.
Bool_t FindExecutable(TString &exec, const Char_t *path="$(PATH)")
copied from KVBase to avoid circular dependency
int locktimeout
time after which lock automatically opens
int retries
number of times to retry
KVString fFile
name of file
bool locked
kTRUE when Lock() has been called successfully
int sleeptime
time to wait before retrying lock
void writecmd()
Writes lockfile command with current values of parameters.
int suspend
suspend time after timeout
KVString fLockfile
full path to lockfile executable (if defined)
Bool_t Lock(const Char_t *filename="")
KVString cmd
command to execute
KVLockfile(const Char_t *filename="")
Default constructor.
bool have_exec
kTRUE if lockfile found on system
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....