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

Issue 3898042: code review 3898042: runtime: Restore scheduler stack position if cgo callba... (Closed)

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

Description

runtime: Restore scheduler stack position if cgo callback panics. If we don't do this, then when C code calls back to Go code which panics, we lose space on the scheduler stack. If that happens a lot, eventually there is no space left on the scheduler stack.

Patch Set 1 #

Patch Set 2 : code review 3898042: runtime: Restore scheduler stack position if cgo callba... #

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

Messages

Total messages: 3
iant
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 5 months ago (2011-01-08 00:38:05 UTC) #1
rsc
LGTM
14 years, 5 months ago (2011-01-08 14:39:13 UTC) #2
iant
14 years, 5 months ago (2011-01-08 18:22:44 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=02ef954111c6 ***

runtime: Restore scheduler stack position if cgo callback panics.

If we don't do this, then when C code calls back to Go code
which panics, we lose space on the scheduler stack.  If that
happens a lot, eventually there is no space left on the
scheduler stack.

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

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