Anonymous user
Concurrent computing: Difference between revisions
m
Removed output as defined by task, updated code to match task
m (Updated code to match task and removed output as defined by task.) |
m (Removed output as defined by task, updated code to match task) |
||
Line 716:
multiple channel operations.
<lang go>package main
import "fmt"
func main() {
w1 := make(chan bool, 1)
Line 731 ⟶ 729:
select {
case <-w1:
fmt.Println("
case <-w2:
fmt.Println("
case <-w3:
fmt.Println("
}
}
}
}</lang>
=={{header|Groovy}}==
|