Searched defs:RWMutex (Results 1 – 14 of 14) sorted by relevance
/aosp_15_r20/prebuilts/go/linux-x86/src/sync/ |
D | rwmutex.go | 37 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 …]
|
D | rwmutex_test.go | 20 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/ |
D | rwmutex_test.go | 20 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) {
|
D | export_test.go | 460 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/ |
D | forkpipe2.go | 28 func hasWaitingReaders(rw *sync.RWMutex) bool
|
/aosp_15_r20/external/llvm/include/llvm/Support/ |
H A D | RWMutex.h | 143 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/ |
H A D | RWMutex.h | 156 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Support/ |
D | RWMutex.h | 153 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Support/ |
D | RWMutex.h | 153 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Support/ |
D | RWMutex.h | 153 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | RWMutex.h | 164 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Support/ |
D | RWMutex.h | 165 typedef SmartRWMutex<false> RWMutex; typedef
|
/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mutex.h | 95 RWMutex() { in RWMutex() function
|
/aosp_15_r20/prebuilts/go/linux-x86/src/net/ |
D | interface.go | 193 sync.RWMutex // guard the following anonMember
|