diff options
| author | David Symonds <dsymonds@golang.org> | 2009-12-15 18:21:29 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-12-15 18:21:29 -0800 |
| commit | b5866494eaabd03a8eaeaabd05bd2e043e2795b5 (patch) | |
| tree | 84efb708e358a0c126fa11d918d75f2cc0e78a05 /src/pkg/runtime/runtime.h | |
| parent | a47a45ec7741d677ea6582cdeee3419325ac9488 (diff) | |
| download | go-b5866494eaabd03a8eaeaabd05bd2e043e2795b5.tar.xz | |
os/signal: new package
Fixes #71.
R=rsc, r
https://golang.org/cl/162056
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 7 |
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*); |
