Go to the documentation of this file.
18 #ifndef _DECAF_UTIL_CONCURRENT_LOCKS_LOCK_H_
19 #define _DECAF_UTIL_CONCURRENT_LOCKS_LOCK_H_
29 namespace concurrent {
118 virtual void lock() = 0;
160 virtual void lockInterruptibly() = 0;
189 virtual bool tryLock() = 0;
246 virtual bool tryLock(
long long time,
const TimeUnit& unit) = 0;
261 virtual void unlock() = 0;
287 virtual std::string toString()
const = 0;