const runtime.rwmutexMaxReaders
6 uses
runtime (current package)
rwmutex.go#L30: const rwmutexMaxReaders = 1 << 30
rwmutex.go#L64: if r+1 == 0 || r+1 == -rwmutexMaxReaders {
rwmutex.go#L87: r := int32(atomic.Xadd(&rw.readerCount, -rwmutexMaxReaders)) + rwmutexMaxReaders
rwmutex.go#L106: r := int32(atomic.Xadd(&rw.readerCount, rwmutexMaxReaders))
rwmutex.go#L107: 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. |