]> Cypherpunks repositories - gostls13.git/commit
chan: allocate a new chan with one
authorKen Thompson <ken@golang.org>
Wed, 23 Mar 2011 01:41:17 +0000 (18:41 -0700)
committerKen Thompson <ken@golang.org>
Wed, 23 Mar 2011 01:41:17 +0000 (18:41 -0700)
commita73817716a25c3e7584daf378c72d14c7a33ba18
tree3a9150b9507fc287944da102fa1a0b7cf6df719f
parent005fe41125dc2a23bc25eb553d194a40dd4d99e0
chan: allocate a new chan with one
malloc rather than nelements + 1.

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