aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 54bc9d8f2d..46df412b39 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -235,6 +235,7 @@ enum
SigCatch = 1<<0,
SigIgnore = 1<<1,
SigRestart = 1<<2,
+ SigQueue = 1<<3,
};
// (will be) shared with go; edit ../cmd/6g/sys.go too.
@@ -373,6 +374,10 @@ void breakpoint(void);
void gosched(void);
void goexit(void);
void runcgo(void (*fn)(void*), void*);
+void entersyscall(void);
+void exitsyscall(void);
+void siginit(void);
+void sigsend(int32 sig);
#pragma varargck argpos printf 1
@@ -485,6 +490,8 @@ float64 ldexp(float64 d, int32 e);
float64 modf(float64 d, float64 *ip);
void semacquire(uint32*);
void semrelease(uint32*);
+String signame(int32 sig);
+
void mapassign(Hmap*, byte*, byte*);
void mapaccess(Hmap*, byte*, byte*, bool*);