diff options
author | Dmitriy Vyukov <dvyukov@google.com> | 2014-09-04 10:04:04 +0400 |
---|---|---|
committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-09-04 10:04:04 +0400 |
commit | 91a670d179ae5a0b91a498b4df9d5f088704dba0 (patch) | |
tree | cbffc3393d970a3b4593de70d8333f0be8e22895 /src/cmd/api/goapi.go | |
parent | dae803863978513a159b36822054126f042ff412 (diff) | |
download | go-git-91a670d179ae5a0b91a498b4df9d5f088704dba0.tar.gz |
runtime: convert netpoll to Go
The common code is converted, epoll and kqueue are converted.
Windows and solaris are still C.
LGTM=rsc
R=golang-codereviews, rsc, dave
CC=golang-codereviews, iant, khr, rsc
https://golang.org/cl/132910043
Diffstat (limited to 'src/cmd/api/goapi.go')
-rw-r--r-- | src/cmd/api/goapi.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index ce806fc95d..2d6dde2665 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -405,6 +405,9 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { " sudog struct{};" + " waitq struct{};" + " wincallbackcontext struct{};" + + " keventt struct{};" + + " timespec struct{};" + + " epollevent struct{};" + "); " + "const (" + " cb_max = 2000;" + |