OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RWLock
(Results
1 - 10
of
10
) 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
...]
threads.h
34
#include <utils/
RWLock
.h>
/system/netd/
UidMarkMap.h
23
#include <utils/
RWLock
.h>
40
android::
RWLock
mRWLock;
UidMarkMap.cpp
27
android::
RWLock
::AutoWLock lock(mRWLock);
38
android::
RWLock
::AutoWLock lock(mRWLock);
52
android::
RWLock
::AutoRLock lock(mRWLock);
66
android::
RWLock
::AutoRLock lock(mRWLock);
/external/valgrind/unittest/
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
...]
atomicity_tests.cc
102
RWLock
mu;
test_utils.h
44
#define
RWLock
Mutex // Mutex does work as an rw-lock.
posix_tests.cc
402
// test122 TP: Simple test with
RWLock
{{{1
406
RWLock
mu;
455
RWLock
mu;
654
// test146: TP. Unit test for
RWLock
::TryLock and
RWLock
::ReaderTryLock. {{{1
666
RWLock
MU;
1130
RWLock
mu;
1150
ANNOTATE_EXPECT_RACE(&GLOB, "rwunlock/
rwlock
is not a hb-arc");
/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 2373 milliseconds