mirror of
https://github.com/golang/go
synced 2024-11-15 00:30:31 -07:00
[release-branch.go1.1] undo 6efaa14e2e7f
It breaks the build. R=golang-dev CC=golang-dev https://golang.org/cl/11584045
This commit is contained in:
parent
ceeda72bab
commit
b5245b9c77
@ -2015,7 +2015,6 @@ sysmon(void)
|
|||||||
lastpoll = runtime·atomicload64(&runtime·sched.lastpoll);
|
lastpoll = runtime·atomicload64(&runtime·sched.lastpoll);
|
||||||
now = runtime·nanotime();
|
now = runtime·nanotime();
|
||||||
if(lastpoll != 0 && lastpoll + 10*1000*1000 > now) {
|
if(lastpoll != 0 && lastpoll + 10*1000*1000 > now) {
|
||||||
runtime·cas64(&runtime·sched.lastpoll, lastpoll, now);
|
|
||||||
gp = runtime·netpoll(false); // non-blocking
|
gp = runtime·netpoll(false); // non-blocking
|
||||||
injectglist(gp);
|
injectglist(gp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user