Qore Programming Language Reference Manual
0.8.7
Main Page
Related Pages
Modules
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Groups
Pages
QC_RWLock.dox.h
1
2
namespace
Qore::Thread {
4
31
class
RWLock
:
public
AbstractSmartLock
{
32
33
public
:
35
40
constructor
();
41
42
public
:
44
49
copy
();
50
51
public
:
53
62
destructor
();
63
64
public
:
66
76
int
getReadWaiting
();
77
78
public
:
80
90
int
getWriteWaiting
();
91
92
public
:
94
105
bool
lockOwner
();
106
107
public
:
109
119
int
numReaders
();
120
121
public
:
123
131
nothing
readLock
();
132
133
public
:
135
150
int
readLock
(timeout timeout_ms);
151
152
public
:
154
165
bool
readLockOwner
();
166
167
public
:
169
176
nothing
readUnlock
();
177
178
public
:
180
189
int
tryReadLock
();
190
191
public
:
193
201
int
tryWriteLock
();
202
203
public
:
205
220
int
writeLock
(timeout timeout_ms);
221
222
public
:
224
232
nothing
writeLock
();
233
234
public
:
236
247
bool
writeLockOwner
();
248
249
public
:
251
258
nothing
writeUnlock
();
259
};
260
};