3 // asyncSendErr is used to try an async send of an error
4 func asyncSendErr(ch chan error, err error) {
14 // asyncNotify is used to signal a waiting goroutine
15 func asyncNotify(ch chan struct{}) {
17 case ch <- struct{}{}:
22 // min computes the minimum of two values
23 func min(a, b uint32) uint32 {