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

Issue 902041: code review 902041: runtime: use explicit flag when finalizer goroutine is ... (Closed)

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

Description

runtime: use explicit flag when finalizer goroutine is waiting Avoids spurious wakeups during other sleeping by that goroutine. Fixes issue 711.

Patch Set 1 #

Patch Set 2 : code review 902041: runtime: use explicit flag when finalizer goroutine is ... #

Patch Set 3 : code review 902041: runtime: use explicit flag when finalizer goroutine is ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/pkg/runtime/mgc0.c View 3 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 11 months ago (2010-04-08 01:27:58 UTC) #1
r2
LGTM On Apr 7, 2010, at 6:27 PM, rsc@golang.org wrote: > Reviewers: r, > > ...
14 years, 11 months ago (2010-04-08 02:00:39 UTC) #2
rsc
14 years, 11 months ago (2010-04-08 03:38:04 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=9cf4bce3ad75 ***

runtime: use explicit flag when finalizer goroutine is waiting

Avoids spurious wakeups during other sleeping by that goroutine.
Fixes issue 711.

R=r
CC=golang-dev
http://codereview.appspot.com/902041
Sign in to reply to this message.

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