From: Andrew Gerrand Date: Tue, 23 Jul 2013 00:10:11 +0000 (+1000) Subject: [release-branch.go1.1] undo 6efaa14e2e7f X-Git-Tag: go1.1.2~6 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b5245b9c77d5320afd4ab22194c577a8e02b5fc4;p=gostls13.git [release-branch.go1.1] undo 6efaa14e2e7f It breaks the build. R=golang-dev CC=golang-dev https://golang.org/cl/11584045 --- 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); }