Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(464)

Issue 181058: code review 181058: Update documentation around time.Sleep to specify its p... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 6 months ago by dho
Modified:
15 years, 6 months ago
Reviewers:
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

Update documentation around time.Sleep to specify its precision, and suggest a possible interface for more granular sleep times. Fixes issue #260.

Patch Set 1 #

Patch Set 2 : code review 181058: Update documentation around time.Sleep to specify its p... #

Total comments: 1

Patch Set 3 : code review 181058: Update documentation around time.Sleep to specify its p... #

Total comments: 1

Patch Set 4 : code review 181058: Update documentation around time.Sleep to specify its p... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M src/pkg/time/sleep.go View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7
dho
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review the following change.
15 years, 6 months ago (2009-12-24 21:07:14 UTC) #1
r
http://codereview.appspot.com/181058/diff/1001/4 File src/pkg/time/sleep.go (right): http://codereview.appspot.com/181058/diff/1001/4#newcode13 src/pkg/time/sleep.go:13: // of time slept may vary, the only guarantee ...
15 years, 6 months ago (2009-12-24 21:09:59 UTC) #2
dho
2009/12/24 <r@golang.org>: > > http://codereview.appspot.com/181058/diff/1001/4 > File src/pkg/time/sleep.go (right): > > http://codereview.appspot.com/181058/diff/1001/4#newcode13 > src/pkg/time/sleep.go:13: // ...
15 years, 6 months ago (2009-12-24 21:16:19 UTC) #3
r
http://codereview.appspot.com/181058/diff/1004/1005 File src/pkg/time/sleep.go (right): http://codereview.appspot.com/181058/diff/1004/1005#newcode14 src/pkg/time/sleep.go:14: // It returns os.EINTR if interrupted. s/It/Sleep/ (the referent ...
15 years, 6 months ago (2009-12-24 21:19:58 UTC) #4
dho
2009/12/24 <r@golang.org>: > > http://codereview.appspot.com/181058/diff/1004/1005 > File src/pkg/time/sleep.go (right): > > http://codereview.appspot.com/181058/diff/1004/1005#newcode14 > src/pkg/time/sleep.go:14: // ...
15 years, 6 months ago (2009-12-24 21:22:11 UTC) #5
r
LGTM
15 years, 6 months ago (2009-12-24 21:23:38 UTC) #6
r
15 years, 6 months ago (2009-12-24 21:24:05 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=16355a0398ab ***

Update documentation around time.Sleep to specify its precision, and suggest
a possible interface for more granular sleep times.

Fixes issue #260.

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/181058

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b