Lines Matching refs:cdone
17 func parallelReader(m *RWMutex, clocked, cunlock, cdone chan bool) {
22 cdone <- true
30 cdone := make(chan bool)
32 go parallelReader(&m, clocked, cunlock, cdone)
43 <-cdone
54 func reader(rwm *RWMutex, num_iterations int, activity *int32, cdone chan bool) {
66 cdone <- true
69 func writer(rwm *RWMutex, num_iterations int, activity *int32, cdone chan bool) {
81 cdone <- true
89 cdone := make(chan bool)
90 go writer(&rwm, num_iterations, &activity, cdone)
93 go reader(&rwm, num_iterations, &activity, cdone)
95 go writer(&rwm, num_iterations, &activity, cdone)
97 go reader(&rwm, num_iterations, &activity, cdone)
101 <-cdone