From 91a670d179ae5a0b91a498b4df9d5f088704dba0 Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Thu, 4 Sep 2014 10:04:04 +0400 Subject: 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 --- src/cmd/api/goapi.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd/api') 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;" + -- cgit v1.3-6-g1900