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

Issue 5538050: code review 5538050: effective_go: provide reference to runtime.NumCPU() (Closed)

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

Description

effective_go: provide reference to runtime.NumCPU()

Patch Set 1 #

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

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

Total comments: 1

Patch Set 4 : diff -r 8c6f3122826c https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 8c6f3122826c https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r 9b926e5d3635 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 8 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 11 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 13 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 14 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 15 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 16 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Patch Set 17 : diff -r 475bb43e6319 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M doc/effective_go.html View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M doc/effective_go.tmpl View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M src/pkg/runtime/debug.go View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/extern.go View 1 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2012-01-12 10:51:32 UTC) #1
rh
LGTM fwiw http://codereview.appspot.com/5538050/diff/1002/doc/effective_go.html File doc/effective_go.html (right): http://codereview.appspot.com/5538050/diff/1002/doc/effective_go.html#newcode2627 doc/effective_go.html:2627: <code>runtime.GOMAXPROCS(NCPU)</code> (to use all available cores call ...
13 years, 5 months ago (2012-01-12 15:14:08 UTC) #2
dvyukov
Hello golang-dev@googlegroups.com, robert.hencke@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2012-01-12 15:21:36 UTC) #3
r
http://codereview.appspot.com/5538050/diff/3006/doc/effective_go.tmpl File doc/effective_go.tmpl (right): http://codereview.appspot.com/5538050/diff/3006/doc/effective_go.tmpl#newcode2565 doc/effective_go.tmpl:2565: <code>runtime.GOMAXPROCS(runtime.NumCPU())</code>). i don't think this is right, exactly. if ...
13 years, 5 months ago (2012-01-12 15:27:17 UTC) #4
dvyukov
On 2012/01/12 15:27:17, r wrote: > http://codereview.appspot.com/5538050/diff/3006/doc/effective_go.tmpl > File doc/effective_go.tmpl (right): > > http://codereview.appspot.com/5538050/diff/3006/doc/effective_go.tmpl#newcode2565 > ...
13 years, 5 months ago (2012-01-12 17:21:13 UTC) #5
r
LGTM if you like my edits. http://codereview.appspot.com/5538050/diff/2011/doc/effective_go.tmpl File doc/effective_go.tmpl (right): http://codereview.appspot.com/5538050/diff/2011/doc/effective_go.tmpl#newcode2562 doc/effective_go.tmpl:2562: variable <code>GOMAXPROCS</code> set ...
13 years, 5 months ago (2012-01-12 17:47:15 UTC) #6
dvyukov
On 2012/01/12 17:47:15, r wrote: > LGTM if you like my edits. I like your ...
13 years, 5 months ago (2012-01-12 17:57:00 UTC) #7
dvyukov
13 years, 5 months ago (2012-01-12 18:06:57 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=48ac1863c1e2 ***

effective_go: provide reference to runtime.NumCPU()

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

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