LEFT | RIGHT |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #define SIG_DFL ((void*)0) | 5 #define SIG_DFL ((void*)0) |
6 #define SIG_IGN ((void*)1) | 6 #define SIG_IGN ((void*)1) |
7 | 7 |
8 int32 runtime·bsdthread_create(void*, M*, G*, void(*)(void)); | 8 int32 runtime·bsdthread_create(void*, M*, G*, void(*)(void)); |
9 void runtime·bsdthread_register(void); | 9 void runtime·bsdthread_register(void); |
10 int32 runtime·mach_msg_trap(MachHeader*, int32, uint32, uint32, uint32, uint32
, uint32); | 10 int32 runtime·mach_msg_trap(MachHeader*, int32, uint32, uint32, uint32, uint32
, uint32); |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 struct Sigaction; | 26 struct Sigaction; |
27 void runtime·sigaction(uintptr, struct Sigaction*, struct Sigaction*); | 27 void runtime·sigaction(uintptr, struct Sigaction*, struct Sigaction*); |
28 void runtime·setsig(int32, void(*)(int32, Siginfo*, void*, G*), bool); | 28 void runtime·setsig(int32, void(*)(int32, Siginfo*, void*, G*), bool); |
29 void runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp); | 29 void runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp); |
30 | 30 |
31 struct StackT; | 31 struct StackT; |
32 void runtime·sigaltstack(struct StackT*, struct StackT*); | 32 void runtime·sigaltstack(struct StackT*, struct StackT*); |
33 void runtime·sigtramp(void); | 33 void runtime·sigtramp(void); |
34 void runtime·sigpanic(void); | 34 void runtime·sigpanic(void); |
35 int32» runtime·setitimer(int32, Itimerval*, Itimerval*); | 35 void» runtime·setitimer(int32, Itimerval*, Itimerval*); |
36 | 36 |
37 void runtime·raisesigpipe(void); | 37 void runtime·raisesigpipe(void); |
38 | 38 |
39 #define NSIG 32 | 39 #define NSIG 32 |
40 #define SI_USER 0 /* empirically true, but not what headers say */ | 40 #define SI_USER 0 /* empirically true, but not what headers say */ |
41 #define SIG_BLOCK 1 | 41 #define SIG_BLOCK 1 |
42 #define SIG_UNBLOCK 2 | 42 #define SIG_UNBLOCK 2 |
43 #define SIG_SETMASK 3 | 43 #define SIG_SETMASK 3 |
44 | 44 |
LEFT | RIGHT |