Qore Programming Language Reference Manual: lib/QC_AbstractSmartLock.dox.h Source File

Qore Programming Language Reference Manual 0.8.11

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
QC_AbstractSmartLock.dox.h
1 namespace Qore::Thread {
4
13 class AbstractSmartLock {
14
15 public:
17
19 constructor();
20
21 public:
23
33 string getName();
34
35 public:
37
53 bool lockOwner();
54
55 public:
57
69 int lockTID();
70 };
71 };
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.