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

Issue 5732057: code review 5732057: runtime: wait for main goroutine before setting GOMAXPROCS. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by remyoudompheng
Modified:
13 years, 1 month ago
Reviewers:
CC:
golang-dev, dvyukov, rsc, remy_archlinux.org
Visibility:
Public.

Description

runtime: wait for main goroutine before setting GOMAXPROCS. Fixes issue 3182.

Patch Set 1 #

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M src/pkg/runtime/proc.c View 1 2 chunks +5 lines, -1 line 1 comment Download

Messages

Total messages: 8
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, remy@archlinux.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-03-04 10:29:49 UTC) #1
dvyukov
On 2012/03/04 10:29:49, remyoudompheng wrote: > Hello mailto:golang-dev@googlegroups.com (cc: mailto:golang-dev@googlegroups.com, > mailto:remy@archlinux.org), > > I'd ...
13 years, 1 month ago (2012-03-05 07:12:15 UTC) #2
remyoudompheng
Yes, I don't really feel comfortable about this, so I hope someone can have a ...
13 years, 1 month ago (2012-03-05 07:20:47 UTC) #3
dvyukov
On 2012/03/05 07:20:47, remyoudompheng wrote: > Yes, I don't really feel comfortable about this, so ...
13 years, 1 month ago (2012-03-05 11:22:04 UTC) #4
remyoudompheng
On 2012/03/05 11:22:04, dvyukov wrote: > Doesn't whole init runs between these two lines? Init ...
13 years, 1 month ago (2012-03-05 18:47:20 UTC) #5
rsc
LGTM Dmitriy's objection is not important here, because there are no goroutines being created yet.
13 years, 1 month ago (2012-03-05 21:25:33 UTC) #6
rsc
Submitting with a tweak to run.bash to test.
13 years, 1 month ago (2012-03-05 21:40:30 UTC) #7
rsc
13 years, 1 month ago (2012-03-05 21:40:39 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=93f53e832c0f ***

runtime: wait for main goroutine before setting GOMAXPROCS.

Fixes issue 3182.

R=golang-dev, dvyukov, rsc
CC=golang-dev, remy
http://codereview.appspot.com/5732057

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