mirror of
https://github.com/golang/go
synced 2024-11-14 17:20:21 -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);
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user