]> Cypherpunks repositories - gostls13.git/commit
runtime: always set *received in chanrecv.
authorIan Lance Taylor <iant@golang.org>
Fri, 25 Mar 2011 17:36:22 +0000 (10:36 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 25 Mar 2011 17:36:22 +0000 (10:36 -0700)
commit7c616b3809724874c15be762ab9dd15d9ee86406
treefd887ec122ba08c4ee6fa6bfaa65a0defd5ac55b
parentf6d0e811796868d74c9a9030e4771e44fef76734
runtime: always set *received in chanrecv.

Also fix comment.

The only caller of chanrecv initializes the value to false, so
this patch makes no difference at present.  But it seems like
the right thing to do.

R=rsc
CC=golang-dev
https://golang.org/cl/4312053
src/pkg/runtime/chan.c