]> Cypherpunks repositories - gostls13.git/commit
gc, runtime: make range on channel safe for multiple goroutines
authorRuss Cox <rsc@golang.org>
Tue, 18 Jan 2011 20:59:19 +0000 (15:59 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 18 Jan 2011 20:59:19 +0000 (15:59 -0500)
commitb0543ddd8acedc547e409ad930df5763badf08d9
tree41f9b42ce845b9487d3360473fdda65c4f4c1103
parent3426b80dd9483a25d8d12fa0f39be7686f26c97b
gc, runtime: make range on channel safe for multiple goroutines

Fixes #397.

R=ken2
CC=golang-dev
https://golang.org/cl/3994043
src/cmd/gc/builtin.c.boot
src/cmd/gc/go.h
src/cmd/gc/range.c
src/cmd/gc/runtime.go
src/cmd/gc/walk.c
src/pkg/runtime/chan.c
src/pkg/runtime/reflect.goc
src/pkg/runtime/runtime.h