]> Cypherpunks repositories - gostls13.git/commit
time: fix tick accuracy when using multiple Tickers
authorEoghan Sherry <ejsherry@gmail.com>
Sun, 9 Jan 2011 05:24:44 +0000 (21:24 -0800)
committerRob Pike <r@golang.org>
Sun, 9 Jan 2011 05:24:44 +0000 (21:24 -0800)
commit0c02bd18011c4290b27c3dc70ec2e762c6dcaffc
tree262f0e6f500e42459ddd6218d09bf93349f5d0c6
parentc6ed78a4c1ffd4361ff9e3319644fe9dc4df2b20
time: fix tick accuracy when using multiple Tickers

* correctly ignore obsolete ticks
* fix update of next alarm time
* tighten alarm channel buffers
Fixes #1379.

R=r, adg, r2
CC=golang-dev, soul9
https://golang.org/cl/3789045
src/pkg/time/tick.go