- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for runtime_notifyListWait (0.22 sec)
-
src/sync/cond.go
// for !condition() { // c.Wait() // } // ... make use of condition ... // c.L.Unlock() func (c *Cond) Wait() { c.checker.check() t := runtime_notifyListAdd(&c.notify) c.L.Unlock() runtime_notifyListWait(&c.notify, t) c.L.Lock() } // Signal wakes one goroutine waiting on c, if there is any. // // It is allowed but not required for the caller to hold c.L // during the call. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4.1K bytes - Viewed (0)