QC_AbstractSmartLock.dox.h
namespace Qore::Thread {
class AbstractSmartLock {
public:
constructor();
public:
string getName();
public:
bool lockOwner();
public:
int lockTID();
};
};
Qore::Thread::AbstractSmartLock
The abstract base class for locks that support the internal API for use with the Condition class...
Definition: QC_AbstractSmartLock.dox.h:13
Qore::Thread::AbstractSmartLock::lockOwner
bool lockOwner()
Returns True if the calling thread owns the lock, False if not.
Qore::Thread::AbstractSmartLock::lockTID
int lockTID()
Returns the TID of the thread owning the lock or -1 if the lock is currently not acquired.
Qore::Thread::AbstractSmartLock::constructor
constructor()
Throws an exception if called directly; this class can only be instantiated by builtin subclasses...
Qore::Thread::AbstractSmartLock::getName
string getName()
Returns the name of the threading class directly inheriting this class.
Qore::Thread
Qore::Thread namespace.
Definition: QC_AbstractSmartLock.dox.h:2