aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-03-12 21:14:26 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-03-12 21:14:26 +0400
commitc21188473103a14beb3b0950fb2331fea7e16d80 (patch)
tree8a71a6f2df651bec5f3780d872afd95d58cb1ceb /src/pkg/runtime/runtime.h
parent4dd3e1e844cfab83b73b4ca417a0095ae7b0ef66 (diff)
downloadgo-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.h3
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,
};