| Qore Programming Language Reference Manual 1.0.8

QC_AbstractSmartLock.dox.h
1 namespace Qore {
4 namespace Thread {
6
15 class AbstractSmartLock {
16
17 public:
19
21 constructor();
22
23 public:
25
35 string getName();
36
37 public:
39
55 bool lockOwner();
56
57 public:
59
71 int lockTID();
72 };
73 }
74 }
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:15
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
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::Thread::AbstractSmartLock::getName
string getName()
Returns the name of the threading class directly inheriting this class.