Factor out sleep interrupt. Fixes #1109. R=alex.brainman, go.peter.90, mattn.jp CC=golang-dev https://golang.org/cl/4968041
Attach a file by drag & drop or click to upload