Go to the documentation of this file.
18 #ifndef _DECAF_UTIL_CONCURRENT_LOCKS_REENTRANTLOCK_H_
19 #define _DECAF_UTIL_CONCURRENT_LOCKS_REENTRANTLOCK_H_
28 namespace concurrent {
158 virtual void lockInterruptibly();
181 virtual bool tryLock();
234 virtual bool tryLock(
long long time,
const TimeUnit& unit );
245 virtual void unlock();
304 int getHoldCount()
const;
346 bool isHeldByCurrentThread()
const;
354 bool isLocked()
const;
370 std::string toString()
const;
379 int getQueueLength()
const;
393 int getWaitQueueLength(
Condition* condition)
const;
405 bool hasWaiters(
Condition* condition)
const;
410 bool hasQueuedThreads()
const;