OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ReaderWriterMutex
(Results
1 - 3
of
3
) sorted by null
/art/runtime/
locks.h
27
class LOCKABLE
ReaderWriterMutex
;
128
static
ReaderWriterMutex
* mutator_lock_;
131
static
ReaderWriterMutex
* heap_bitmap_lock_ ACQUIRED_AFTER(mutator_lock_);
147
static
ReaderWriterMutex
* classlinker_classes_lock_ ACQUIRED_AFTER(trace_lock_);
/art/runtime/base/
mutex.cc
513
ReaderWriterMutex
::
ReaderWriterMutex
(const char* name, LockLevel level)
524
ReaderWriterMutex
::~
ReaderWriterMutex
() {
545
void
ReaderWriterMutex
::ExclusiveLock(Thread* self) {
578
void
ReaderWriterMutex
::ExclusiveUnlock(Thread* self) {
607
bool
ReaderWriterMutex
::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) {
661
bool
ReaderWriterMutex
::SharedTryLock(Thread* self) {
690
bool
ReaderWriterMutex
::IsExclusiveHeld(const Thread* self) const {
702
bool
ReaderWriterMutex
::IsSharedHeld(const Thread* self) const
[
all
...]
mutex.h
204
// A
ReaderWriterMutex
is used to achieve mutual exclusion between threads, similar to a Mutex.
205
// Unlike a Mutex a
ReaderWriterMutex
can be used to gain exclusive (writer) or shared (reader)
207
// condition variable. A
ReaderWriterMutex
can be in one of three states:
220
std::ostream& operator<<(std::ostream& os, const
ReaderWriterMutex
& mu);
221
class LOCKABLE
ReaderWriterMutex
: public BaseMutex {
223
explicit
ReaderWriterMutex
(const char* name, LockLevel level = kDefaultMutexLevel);
224
~
ReaderWriterMutex
();
228
// Block until
ReaderWriterMutex
is free then acquire exclusive access.
236
// Block until
ReaderWriterMutex
is free and acquire exclusive access. Returns true on success
243
// Block until
ReaderWriterMutex
is shared or free then acquire a share on the access
[
all
...]
Completed in 611 milliseconds