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

Issue 5437060: code review 5437060: time: fix timer stop (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by dvyukov
Modified:
13 years, 3 months ago
Reviewers:
CC:
golang-dev, adg, mdbrown
Visibility:
Public.

Description

time: fix timer stop Due to data structure corruption, some timers could not be removed. Fixes issue 2495.

Patch Set 1 #

Patch Set 2 : diff -r 221f3eb76b52 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 3 : diff -r 221f3eb76b52 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 221f3eb76b52 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 6ba8b70da6be https://go.googlecode.com/hg/ #

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

Messages

Total messages: 4
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, mdbrown@google.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2011-11-24 18:27:55 UTC) #1
dvyukov
http://codereview.appspot.com/5437060/diff/2001/src/pkg/runtime/time.goc File src/pkg/runtime/time.goc (left): http://codereview.appspot.com/5437060/diff/2001/src/pkg/runtime/time.goc#oldcode138 src/pkg/runtime/time.goc:138: siftdown(i); if there are a lot of timers with ...
13 years, 3 months ago (2011-11-24 18:28:05 UTC) #2
adg
LGTM
13 years, 3 months ago (2011-11-25 03:18:50 UTC) #3
dvyukov
13 years, 3 months ago (2011-11-25 11:13:29 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=c5f4de48505f ***

time: fix timer stop
Due to data structure corruption,
some timers could not be removed.
Fixes issue 2495.

R=golang-dev, adg
CC=golang-dev, mdbrown
http://codereview.appspot.com/5437060
Sign in to reply to this message.

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