[dev.garbage] all: merge dev.cc (493ad916c3b1) into dev.garbage

TBR=austin
CC=golang-codereviews
https://golang.org/cl/179290043
This commit is contained in:
Russ Cox 2014-11-24 12:07:11 -05:00
commit b8540fc288
207 changed files with 4734 additions and 11182 deletions

View file

@ -45,7 +45,13 @@ const (
_Pdead
)
// XXX inserting below here
// The next line makes 'go generate' write the zgen_*.go files with
// per-OS and per-arch information, including constants
// named goos_$GOOS and goarch_$GOARCH for every
// known GOOS and GOARCH. The constant is 1 on the
// current system, 0 otherwise; multiplying by them is
// useful for defining GOOS- or GOARCH-specific constants.
//go:generate go run gengoos.go
type mutex struct {
// Futex-based impl treats it as uint32 key,
@ -397,14 +403,6 @@ type itab struct {
fun [0]uintptr
}
const (
// TODO: Generate in cmd/dist.
_NaCl = 0
_Windows = 0
_Solaris = 0
_Plan9 = 0
)
// Lock-free stack node.
// // Also known to export_test.go.
type lfnode struct {