diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-21 20:41:09 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-21 20:41:09 +0400 |
| commit | 684de0411878ba02c4e949d9c88a0cb8ff0d6a44 (patch) | |
| tree | ada43b08141bf916745d5052c68b14073f770cdc /src/cmd/api | |
| parent | 6b112c24db0a3c6ddd373c2001129f11f7d9e7f1 (diff) | |
| download | go-684de0411878ba02c4e949d9c88a0cb8ff0d6a44.tar.xz | |
runtime: convert common scheduler functions to Go
These are required for chans, semaphores, timers, etc.
LGTM=khr
R=golang-codereviews, khr
CC=golang-codereviews, rlh, rsc
https://golang.org/cl/123640043
Diffstat (limited to 'src/cmd/api')
| -rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 5933f32563..d7b16a0c4f 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -381,7 +381,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { src := "package runtime; type maptype struct{}; type _type struct{}; type alg struct{};" + " type mspan struct{}; type m struct{}; type lock struct{}; type slicetype struct{};" + " type iface struct{}; type eface struct{}; type interfacetype struct{}; type itab struct{};" + - " type mcache struct{}; type bucket struct{}" + " type mcache struct{}; type bucket struct{}; type sudog struct{}; type g struct{}" f, err = parser.ParseFile(fset, filename, src, 0) if err != nil { log.Fatalf("incorrect generated file: %s", err) |
