]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate excessive notewakeup calls in timers
authorDmitriy Vyukov <dvyukov@google.com>
Tue, 13 Aug 2013 10:14:24 +0000 (14:14 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Tue, 13 Aug 2013 10:14:24 +0000 (14:14 +0400)
commitd1b66439f91377bceee1dd190a0be6c8367f7268
tree10f0641873dc279433935cfd110e7944118e632f
parente33e476e074c3f424ca5b9d14cf67acacd5250aa
runtime: eliminate excessive notewakeup calls in timers
If the timer goroutine is wakeup by timeout,
other goroutines will still notewakeup because sleeping is still set.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12763043
src/pkg/runtime/time.goc