- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for syscall_hasWaitingReaders (0.15 sec)
-
src/sync/rwmutex.go
// this private API to avoid having to change the type of ForkLock. // For more details see the syscall package. // //go:linkname syscall_hasWaitingReaders syscall.hasWaitingReaders func syscall_hasWaitingReaders(rw *RWMutex) bool { r := rw.readerCount.Load() return r < 0 && r+rwmutexMaxReaders > 0 } // RLocker returns a [Locker] interface that implements
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 7.2K bytes - Viewed (0)