-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Description
by kbsriram:
http://play.golang.org/p/06bz6Td0Mg Why does only writer1 get scheduled? (Or is the code itself required to account for potential goroutine starvation?) [PS: thanks to discussion on freenode/#go-nuts for isolating this specific example. There are other biases present in an unbuffered channel, but none as interesting as the previous one. eg: http://play.golang.org/p/g9pxx3R3BV]