aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-11 12:08:30 -0400
committerRuss Cox <rsc@golang.org>2014-09-11 12:08:30 -0400
commit1d550b87dbbe711a1bf2e54e0ba065a27165d2c1 (patch)
tree154e9e895575bc13f839569b9279cd912a5a86f8 /src/runtime/runtime.h
parentf956740163ad4b46237cea83357b962cada1c2df (diff)
downloadgo-1d550b87dbbe711a1bf2e54e0ba065a27165d2c1.tar.xz
runtime: allow crash from gsignal stack
The uses of onM in dopanic/startpanic are okay even from the signal stack. Fixes #8666. LGTM=khr R=khr CC=golang-codereviews https://golang.org/cl/134710043
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index da9b2b7514..4f9656457d 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -823,6 +823,7 @@ int32 runtime·mcount(void);
int32 runtime·gcount(void);
void runtime·mcall(void(**)(G*));
void runtime·onM(void(**)(void));
+void runtime·onMsignal(void(**)(void));
uint32 runtime·fastrand1(void);
void runtime·rewindmorestack(Gobuf*);
int32 runtime·timediv(int64, int32, int32*);