const sync.rwmutexMaxReaders
6 uses
sync (current package)
rwmutex.go#L36: const rwmutexMaxReaders = 1 << 30
rwmutex.go#L91: if r+1 == 0 || r+1 == -rwmutexMaxReaders {
rwmutex.go#L113: r := atomic.AddInt32(&rw.readerCount, -rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L139: r := atomic.AddInt32(&rw.readerCount, rwmutexMaxReaders)
rwmutex.go#L140: if r >= rwmutexMaxReaders {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |