aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-07-23 10:10:11 +1000
committerAndrew Gerrand <adg@golang.org>2013-07-23 10:10:11 +1000
commitb5245b9c77d5320afd4ab22194c577a8e02b5fc4 (patch)
treed5537ea339b0b8131a0d69695953b8c3be82b317
parentceeda72babae48ab2dd25875497299d0dcbbd20d (diff)
downloadgo-b5245b9c77d5320afd4ab22194c577a8e02b5fc4.tar.gz
go-b5245b9c77d5320afd4ab22194c577a8e02b5fc4.zip
[release-branch.go1.1] undo 6efaa14e2e7f
It breaks the build. R=golang-dev CC=golang-dev https://golang.org/cl/11584045
-rw-r--r--src/pkg/runtime/proc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c
index 9ad2ea091b..5734509e0c 100644
--- a/src/pkg/runtime/proc.c
+++ b/src/pkg/runtime/proc.c
@@ -2015,7 +2015,6 @@ sysmon(void)
lastpoll = runtime·atomicload64(&runtime·sched.lastpoll);
now = runtime·nanotime();
if(lastpoll != 0 && lastpoll + 10*1000*1000 > now) {
- runtime·cas64(&runtime·sched.lastpoll, lastpoll, now);
gp = runtime·netpoll(false); // non-blocking
injectglist(gp);
}