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

Delta Between Two Patch Sets: src/pkg/runtime/os_openbsd.h

Issue 7565048: code review 7565048: runtime: refactor os-specific code (Closed)
Left Patch Set: diff -r 376f233efcc0 https://go.googlecode.com/hg/ Created 12 years ago
Right Patch Set: diff -r 74da57c3abfe https://go.googlecode.com/hg Created 12 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/os_netbsd_arm.c ('k') | src/pkg/runtime/os_openbsd.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 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)
6 #define SIG_IGN ((void*)1)
7 #define SIGHUP 1
8 #define SS_DISABLE 4 5 #define SS_DISABLE 4
9 6
10 #define SIG_BLOCK 1 7 #define SIG_BLOCK 1
11 #define SIG_UNBLOCK 2 8 #define SIG_UNBLOCK 2
12 #define SIG_SETMASK 3 9 #define SIG_SETMASK 3
13 10
14 struct sigaction; 11 struct sigaction;
15 12
16 void runtime·raisesigpipe(void);
17 void runtime·setsig(int32, void(*)(int32, Siginfo*, void*, G*), bool);
18 void runtime·sigpanic(void); 13 void runtime·sigpanic(void);
19 14
20 void runtime·setitimer(int32, Itimerval*, Itimerval*); 15 void runtime·setitimer(int32, Itimerval*, Itimerval*);
21 void runtime·sigaction(int32, struct sigaction*, struct sigaction*); 16 void runtime·sigaction(int32, struct sigaction*, struct sigaction*);
22 void runtime·sigaltstack(Sigaltstack*, Sigaltstack*); 17 void runtime·sigaltstack(Sigaltstack*, Sigaltstack*);
23 void runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp);
24 Sigset runtime·sigprocmask(int32, Sigset); 18 Sigset runtime·sigprocmask(int32, Sigset);
25 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); 19 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
26 20
27 #define NSIG 33 21 #define NSIG 33
28 #define SI_USER 0 22 #define SI_USER 0
LEFTRIGHT

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