- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nothingPending (0.1 sec)
-
pkg/util/goroutinemap/goroutinemap.go
grm.lock.Lock() defer grm.lock.Unlock() for { if len(grm.operations) == 0 || grm.nothingPending() { break } else { grm.cond.Wait() } } } // Check if any operation is pending. Already assumes caller has the // necessary locks func (grm *goRoutineMap) nothingPending() bool { nothingIsPending := true for _, operation := range grm.operations {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 16 11:54:27 UTC 2020 - 6.8K bytes - Viewed (0)