This is more a follow up question from this other post
I do not understand why adding a second channel (c2 in my case) will cause a deadlock. Channels are independent and I don't see why c2 is supposed to be blocked
func do_stuff(done chan bool) {
fmt.Println("Doing stuff")
done <- true
}
func main() {
fmt.Println("Main")
done := make(chan bool)
go do_stuff(done)
<-done
//Up tp here everything works
c2 := make(chan int)
c2 <- 1
fmt.Println("Exit ",<-c2)
}