ThreadLock.h | ThreadLock.h | |||
---|---|---|---|---|
skipping to change at line 62 | skipping to change at line 62 | |||
{ | { | |||
public: | public: | |||
ThreadLock(const Chain& id = ""); | ThreadLock(const Chain& id = ""); | |||
~ThreadLock(); | ~ThreadLock(); | |||
const Chain& getId() const; | const Chain& getId() const; | |||
void setId(const Chain& id); | void setId(const Chain& id); | |||
void init(int lockDelay = LOCKDELAY, bool doStat = true); | void init(int lockDelay = LOCKDELAY, bool doStat = false); | |||
void readLock(); | void readLock(); | |||
void writeLock(); | void writeLock(); | |||
void readLock(int timeout); | void readLock(int timeout); | |||
void writeLock(int timeout); | void writeLock(int timeout); | |||
void unlock(); | void unlock(); | |||
long numLockTry(); | long numLockTry(); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||