Warning, file /include/root/TLockFile.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TLockFile
0013 #define ROOT_TLockFile
0014
0015 #include "TObject.h"
0016 #include "TString.h"
0017
0018
0019 class TLockFile : public TObject {
0020
0021 private:
0022 TLockFile(const TLockFile&) = delete;
0023 TLockFile& operator=(const TLockFile&) = delete;
0024
0025 protected:
0026 TString fPath;
0027
0028 Bool_t Lock(const char *path, Int_t timeLimit);
0029
0030 public:
0031 TLockFile(const char *path, Int_t timeLimit = 0);
0032 ~TLockFile() override;
0033
0034 ClassDefOverride(TLockFile, 0)
0035 };
0036
0037 #endif