Send on a closed channel panics.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 23 Mar 2011 21:13:57 +0000 (21:13 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 23 Mar 2011 21:13:57 +0000 (21:13 +0000)
commit4bfc521c9eeadaac02870c419fad9ba67da0ff3c
tree4d857e22ad7943fcdeeebd79414e85dc2eb195ba
parent4573f2cb64ad73945718526e29ead98eaf93de03
Send on a closed channel panics.

Calling close on a closed channel panics.
Don't limit number of receives on a closed channel.

From-SVN: r171364
gcc/testsuite/go.test/test/chan/select3.go
gcc/testsuite/go.test/test/closedchan.go
libgo/runtime/channel.h
libgo/runtime/go-close.c
libgo/runtime/go-new-channel.c
libgo/runtime/go-rec-nb-small.c
libgo/runtime/go-rec-small.c
libgo/runtime/go-send-big.c
libgo/runtime/go-send-nb-big.c
libgo/runtime/go-send-nb-small.c
libgo/runtime/go-send-small.c