diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2013-03-12 21:14:26 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2013-03-12 21:14:26 +0400 |
| commit | c21188473103a14beb3b0950fb2331fea7e16d80 (patch) | |
| tree | 8a71a6f2df651bec5f3780d872afd95d58cb1ceb /src/pkg/runtime/runtime.h | |
| parent | 4dd3e1e844cfab83b73b4ca417a0095ae7b0ef66 (diff) | |
| download | go-c21188473103a14beb3b0950fb2331fea7e16d80.tar.xz | |
runtime: add network polling support into scheduler
This is a part of the bigger change that moves network poller into runtime:
https://golang.org/cl/7326051/
R=golang-dev, bradfitz, mikioh.mikioh, rsc
CC=golang-dev
https://golang.org/cl/7448048
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index b0276072fd..ffbd5c219d 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -767,6 +767,7 @@ void runtime·blockevent(int64, int32); extern int64 runtime·blockprofilerate; void runtime·addtimer(Timer*); bool runtime·deltimer(Timer*); +G* runtime·netpoll(bool); #pragma varargck argpos runtime·printf 1 #pragma varargck type "d" int32 @@ -968,5 +969,5 @@ extern uint64 ·neginf; enum { - UseSpanType = 1, + UseSpanType = 0, }; |
