12 #ifndef ROOT_TLockPath 13 #define ROOT_TLockPath 36 void SetName(
const char *path) { fName = path; }
52 fLocker =
l; fLocker->
Lock(shared); }
Int_t Unlock()
Unlock the directory.
Int_t Lock(Bool_t shared=kFALSE)
Path locking class allowing shared and exclusive locks.
#define ClassDef(name, id)
void SetName(const char *path)
const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
TLockPath(const char *path="")
Locks the directory.
TLockPathGuard(TLockPath *l, Bool_t shared=kFALSE)