]> Cypherpunks repositories - gostls13.git/commit
runtime: select bug
authorRuss Cox <rsc@golang.org>
Fri, 28 Jan 2011 22:17:38 +0000 (17:17 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 28 Jan 2011 22:17:38 +0000 (17:17 -0500)
commit504da53c858eb89fceaaa41f53db7e6a3e6c2f81
tree95f7fce4cf8ae586e0ef53d0ee782c096fcec416
parent4608feb18b515ef7e01b906913b10bbca9d6b08a
runtime: select bug

The sanity checking in pass 2 is wrong
when a select is offering to communicate in
either direction on a channel and neither case
is immediately ready.

R=ken2
CC=golang-dev
https://golang.org/cl/3991047
src/pkg/runtime/chan.c
test/chan/select3.go