Qore Programming Language 1.19.5
|
Implements a recursive lock. More...
#include <QoreThreadLock.h>
Public Member Methods | |
DLLEXPORT | QoreRecursiveThreadLock () |
Creates the object. | |
DLLLOCAL | QoreRecursiveThreadLock (const QoreRecursiveThreadLock &) |
Creates a new object (not based on the original lock status) | |
Public Member Methods inherited from QoreThreadLock | |
DLLLOCAL | QoreThreadLock () |
creates the lock | |
DLLLOCAL | QoreThreadLock (const pthread_mutexattr_t *ma) |
creates the lock with the given attributes | |
DLLLOCAL | QoreThreadLock (const QoreThreadLock &) |
creates a new object (not based on the original lock status) | |
DLLLOCAL | ~QoreThreadLock () |
destroys the lock | |
DLLLOCAL void | lock () |
grabs the lock (assumes that the lock is unlocked) More... | |
DLLLOCAL int | trylock () |
attempts to acquire the mutex and returns the status immediately; does not block More... | |
DLLLOCAL void | unlock () |
releases the lock (assumes that the lock is locked) More... | |
Implements a recursive lock.