OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RWLock
(Results
1 - 5
of
5
) sorted by null
/system/core/include/utils/
RWLock.h
42
class
RWLock
{
49
RWLock
();
50
RWLock
(const char* name);
51
RWLock
(int type, const char* name = NULL);
52
~
RWLock
();
62
inline AutoRLock(
RWLock
&
rwlock
) : mLock(
rwlock
) { mLock.readLock(); }
65
RWLock
& mLock;
70
inline AutoWLock(
RWLock
& rwlock) : mLock(rwlock) { mLock.writeLock();
[
all
...]
/external/valgrind/unittest/
test_utils.h
44
#define
RWLock
Mutex // Mutex does work as an rw-lock.
thread_wrappers_pthread.h
236
// pthreads do not allow to use condvar with
rwlock
so we can't make
240
class
RWLock
{
242
RWLock
() { CHECK(0 == pthread_rwlock_init(&mu_, NULL)); }
243
~
RWLock
() { CHECK(0 == pthread_rwlock_destroy(&mu_)); }
266
class ReaderLockScoped { // Scoped
RWLock
Locker/Unlocker
268
ReaderLockScoped(
RWLock
*mu) : mu_(mu) {
275
RWLock
*mu_;
278
class WriterLockScoped { // Scoped
RWLock
Locker/Unlocker
280
WriterLockScoped(
RWLock
*mu) : mu_(mu) {
287
RWLock
*mu_
[
all
...]
/external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h
295
// pthreads do not allow to use condvar with
rwlock
so we can't make
299
class
RWLock
{
301
RWLock
() { CHECK(0 == pthread_rwlock_init(&mu_, NULL)); }
302
~
RWLock
() { CHECK(0 == pthread_rwlock_destroy(&mu_)); }
312
class ReaderLockScoped { // Scoped
RWLock
Locker/Unlocker
314
ReaderLockScoped(
RWLock
*mu)
322
RWLock
*mu_;
325
class WriterLockScoped { // Scoped
RWLock
Locker/Unlocker
327
WriterLockScoped(
RWLock
*mu)
335
RWLock
*mu_
[
all
...]
tsan_unittest.cpp
54
#define
RWLock
Mutex // Mutex does work as an rw-lock.
[
all
...]
Completed in 2168 milliseconds