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

Issue 202043: code review 202043: time: Sleep through interruptions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by cw
Modified:
14 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

time: Sleep through interruptions

Patch Set 1 #

Patch Set 2 : code review 202043: Make it so time.Sleep is no longer interruptable. #

Total comments: 2

Patch Set 3 : code review 202043: time: Sleep through interruptions #

Patch Set 4 : code review 202043: time: Sleep through interruptions #

Total comments: 5

Patch Set 5 : code review 202043: time: Sleep through interruptions #

Total comments: 1

Patch Set 6 : code review 202043: time: Sleep through interruptions #

Patch Set 7 : code review 202043: time: Sleep through interruptions #

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

Messages

Total messages: 12
cw
Hello r, rsc, iant (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-02-04 07:00:45 UTC) #1
rsc
Thanks for fixing this. Please make the description (hg change 202043) a one-liner that stands ...
14 years, 3 months ago (2010-02-04 07:23:12 UTC) #2
rsc
14 years, 3 months ago (2010-02-04 07:23:19 UTC) #3
cw
On Thu, Feb 04, 2010 at 07:23:12AM +0000, rsc@golang.org wrote: > t := Nanoseconds() > ...
14 years, 3 months ago (2010-02-04 07:48:04 UTC) #4
cw
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2010-02-04 07:49:40 UTC) #5
rsc
looks pretty good http://codereview.appspot.com/202043/diff/8/9 File src/pkg/time/sleep.go (right): http://codereview.appspot.com/202043/diff/8/9#newcode25 src/pkg/time/sleep.go:25: return nil // silence compiler warning ...
14 years, 3 months ago (2010-02-04 07:58:47 UTC) #6
rsc
> what's the simplest way to address that? bah. i hate unix. i'll fix the ...
14 years, 3 months ago (2010-02-04 08:06:53 UTC) #7
cw
On Thu, Feb 04, 2010 at 12:06:48AM -0800, Russ Cox wrote: > bah. i hate ...
14 years, 3 months ago (2010-02-04 08:12:08 UTC) #8
cw
On Thu, Feb 04, 2010 at 07:58:47AM +0000, rsc@golang.org wrote: > type is unnecessary > ...
14 years, 3 months ago (2010-02-04 08:15:34 UTC) #9
rsc
http://codereview.appspot.com/202043/diff/1013/18 File src/pkg/time/sleep_test.go (right): http://codereview.appspot.com/202043/diff/1013/18#newcode26 src/pkg/time/sleep_test.go:26: t.Fatalf("Sleep slept for only %d nanoseconds (expected %d)", duration, ...
14 years, 3 months ago (2010-02-04 09:55:35 UTC) #10
cw
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2010-02-04 09:59:08 UTC) #11
rsc
14 years, 3 months ago (2010-02-04 21:09:04 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=30bb6960300c ***

time: Sleep through interruptions

R=rsc
CC=golang-dev
http://codereview.appspot.com/202043

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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