44 SysError(
"Lock",
"cannot open lock file %s", pname);
51 #if !defined(R__WIN32) && !defined(R__WINGCC) 52 int op = (shared) ? LOCK_SH : LOCK_EX ;
54 SysError(
"Lock",
"error locking %s", pname);
80 #if !defined(R__WIN32) && !defined(R__WINGCC) 81 if (flock(
fLockId, LOCK_UN) == -1) {
virtual void SysError(const char *method, const char *msgfmt,...) const
Issue system error message.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
Int_t Unlock()
Unlock the directory.
virtual int GetPid()
Get process id.
Int_t Lock(Bool_t shared=kFALSE)
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
R__EXTERN TSystem * gSystem
const char * GetName() const
Returns name of object.
TLockPath(const char *path="")
Locks the directory.
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
const char * Data() const