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
...]
/prebuilts/go/darwin-x86/src/net/
fd_mutex.go
37
// Read operations must do
RWLock
(true)/RWUnlock(true).
38
// Write operations must do
RWLock
(false)/RWUnlock(false).
45
//
RWLock
/Incref return whether fd is open.
106
func (mu *fdMutex)
RWLock
(read bool) bool {
/prebuilts/go/linux-x86/src/net/
fd_mutex.go
37
// Read operations must do
RWLock
(true)/RWUnlock(true).
38
// Write operations must do
RWLock
(false)/RWUnlock(false).
45
//
RWLock
/Incref return whether fd is open.
106
func (mu *fdMutex)
RWLock
(read bool) bool {
/external/valgrind/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 4021 milliseconds