]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.1] undo 6efaa14e2e7f
authorAndrew Gerrand <adg@golang.org>
Tue, 23 Jul 2013 00:10:11 +0000 (10:10 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 23 Jul 2013 00:10:11 +0000 (10:10 +1000)
It breaks the build.

R=golang-dev
CC=golang-dev
https://golang.org/cl/11584045

src/pkg/runtime/proc.c

index 9ad2ea091bc46962f9c6d266c517e48d949bb689..5734509e0cca9502c427b96f5e9d0477b095e3a4 100644 (file)
@@ -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);
                }