]> Cypherpunks repositories - gostls13.git/commit
time: add more docs on Sleep
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 28 Aug 2013 18:16:55 +0000 (11:16 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 28 Aug 2013 18:16:55 +0000 (11:16 -0700)
commit8159b6901f0f18f213897f27d5bd4806c3e18ee2
tree78aa4d6bc883940eb849128467358999f63f4a4e
parent37cee77ac681654a20939faa047f11b308908902
time: add more docs on Sleep

Merge the comment from runtime/time.goc ("at least")
and also note that negative is okay and won't crash.
I see people going out of their way to avoid passing
a negative value to Sleep.

R=golang-dev, adg, r, alex.brainman
CC=golang-dev
https://golang.org/cl/13271045
src/pkg/time/sleep.go