Lines Matching refs:awake
19 awake := make(chan bool, n)
25 awake <- true
34 case <-awake:
41 <-awake // Will deadlock if no goroutine wakes up
43 case <-awake:
44 t.Fatal("too many goroutines awake")
57 awake := make(chan int, n)
63 awake <- i
67 a := <-awake
84 awake := make(chan int, n)
92 awake <- g
107 case <-awake:
116 g := <-awake