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

Unified Diff: src/pkg/runtime/runtime.h

Issue 906041: code review 906041: runtime: turn divide by zero, nil dereference into panics (Closed)
Patch Set: code review 906041: runtime: turn divide by zero, nil dereference into panics Created 14 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/linux/thread.c ('k') | test/recover3.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/runtime.h
===================================================================
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -198,6 +198,9 @@
M* lockedm;
void (*cgofn)(void*); // for cgo/ffi
void *cgoarg;
+ int32 sig;
+ uintptr sigcode0;
+ uintptr sigcode1;
};
struct M
{
@@ -268,6 +271,7 @@
SigIgnore = 1<<1,
SigRestart = 1<<2,
SigQueue = 1<<3,
+ SigPanic = 1<<4,
};
// NOTE(rsc): keep in sync with extern.go:/type.Func.
« no previous file with comments | « src/pkg/runtime/linux/thread.c ('k') | test/recover3.go » ('j') | no next file with comments »

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