9 timerPool = &sync.Pool{
10 New: func() interface{} {
11 timer := time.NewTimer(time.Hour * 1e6)
18 // asyncSendErr is used to try an async send of an error
19 func asyncSendErr(ch chan error, err error) {
29 // asyncNotify is used to signal a waiting goroutine
30 func asyncNotify(ch chan struct{}) {
32 case ch <- struct{}{}:
37 // min computes the minimum of two values
38 func min(a, b uint32) uint32 {