Home
last modified time | relevance | path

Searched defs:RWMutex (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/sync/
Drwmutex.go37 type RWMutex struct { struct
38 w Mutex // held if there are pending writers
39 writerSem uint32 // semaphore for writers to wait for completing readers
40 readerSem uint32 // semaphore for readers to wait for completing writers
41 readerCount atomic.Int32 // number of pending readers
42 readerWait atomic.Int32 // number of departing readers
65 func (rw *RWMutex) RLock() {
85 func (rw *RWMutex) TryRLock() bool {
112 func (rw *RWMutex) RUnlock() {
127 func (rw *RWMutex) rUnlockSlow(r int32) {
[all …]
Drwmutex_test.go20 func parallelReader(m *RWMutex, clocked, cunlock, cdone chan bool) {
57 func reader(rwm *RWMutex, num_iterations int, activity *int32, cdone chan bool) {
73 func writer(rwm *RWMutex, num_iterations int, activity *int32, cdone chan bool) {
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/
Drwmutex_test.go20 func parallelReader(m *RWMutex, clocked chan bool, cunlock *atomic.Bool, cdone chan bool) {
69 func reader(rwm *RWMutex, num_iterations int, activity *int32, cdone chan bool) {
84 func writer(rwm *RWMutex, num_iterations int, activity *int32, cdone chan bool) {
Dexport_test.go460 type RWMutex struct { struct
461 rw rwmutex
464 func (rw *RWMutex) Init() {
468 func (rw *RWMutex) RLock() {
472 func (rw *RWMutex) RUnlock() {
476 func (rw *RWMutex) Lock() {
480 func (rw *RWMutex) Unlock() {
/aosp_15_r20/prebuilts/go/linux-x86/src/syscall/
Dforkpipe2.go28 func hasWaitingReaders(rw *sync.RWMutex) bool
/aosp_15_r20/external/llvm/include/llvm/Support/
H A DRWMutex.h143 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
H A DRWMutex.h156 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Support/
DRWMutex.h153 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Support/
DRWMutex.h153 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Support/
DRWMutex.h153 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DRWMutex.h164 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Support/
DRWMutex.h165 typedef SmartRWMutex<false> RWMutex; typedef
/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h95 RWMutex() { in RWMutex() function
/aosp_15_r20/prebuilts/go/linux-x86/src/net/
Dinterface.go193 sync.RWMutex // guard the following anonMember