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

Issue 12054044: code review 12054044: runtime: traceback running goroutines (Closed)

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

Description

runtime: traceback running goroutines Introduce freezetheworld function that is a best-effort attempt to stop any concurrently running goroutines. Call it during crash. Fixes issue 5873.

Patch Set 1 #

Patch Set 2 : diff -r 0e0df120308f https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r 08ad5d12478d https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r 08ad5d12478d https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r b43545f2d724 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -7 lines) Patch
M src/pkg/runtime/panic.c View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 6 chunks +47 lines, -7 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 7 months ago (2013-08-08 19:36:03 UTC) #1
rsc
LGTM
11 years, 7 months ago (2013-08-08 23:19:05 UTC) #2
dvyukov
11 years, 7 months ago (2013-08-09 08:53:42 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=70d8d820bfe6 ***

runtime: traceback running goroutines
Introduce freezetheworld function that is a best-effort attempt to stop any
concurrently running goroutines. Call it during crash.
Fixes issue 5873.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12054044
Sign in to reply to this message.

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