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

Issue 4767041: code review 4767041: runtime: track running goroutine count (Closed)

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

Description

runtime: track running goroutine count Used to use mcpu+msyscall but that's problematic for packing into a single atomic word. The running goroutine count (where running == Go code or syscall) can be maintained separately, always manipulated under lock.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 00f0d6062b5d https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M src/pkg/runtime/proc.c View 1 7 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years, 9 months ago (2011-07-18 19:44:05 UTC) #1
bradfitz
LGTM On Mon, Jul 18, 2011 at 12:44 PM, <rsc@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
13 years, 9 months ago (2011-07-18 19:49:47 UTC) #2
rsc
13 years, 9 months ago (2011-07-18 19:50:59 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=90a2e9f79fdc ***

runtime: track running goroutine count

Used to use mcpu+msyscall but that's
problematic for packing into a single
atomic word.  The running goroutine count
(where running == Go code or syscall)
can be maintained separately, always
manipulated under lock.

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

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