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

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

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Left Patch Set: Created 10 years, 4 months ago
Right Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months 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_darwin.go ('k') | src/pkg/runtime/os_dragonfly.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 2011 The Go Authors. All rights reserved. 1 // Copyright 2011 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 SS_DISABLE 4
6 5
7 typedef byte* kevent_udata; 6 typedef byte* kevent_udata;
8 7
9 int32 runtime·lwp_create(Lwpparams*); 8 int32 runtime·lwp_create(Lwpparams*);
10 void runtime·sigpanic(void); 9 void runtime·sigpanic(void);
11 void» runtime·sigaltstack(Sigaltstack*, Sigaltstack*); 10 void» runtime·sigaltstack(SigaltstackT*, SigaltstackT*);
12 struct sigaction; 11 struct sigaction;
13 void runtime·sigaction(int32, struct sigaction*, struct sigaction*); 12 void runtime·sigaction(int32, struct sigaction*, struct sigaction*);
14 void runtime·sigprocmask(Sigset *, Sigset *); 13 void runtime·sigprocmask(Sigset *, Sigset *);
15 void runtime·unblocksignals(void); 14 void runtime·unblocksignals(void);
16 void runtime·setitimer(int32, Itimerval*, Itimerval*); 15 void runtime·setitimer(int32, Itimerval*, Itimerval*);
17 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr); 16 int32 runtime·sysctl(uint32*, uint32, byte*, uintptr*, byte*, uintptr);
18 17
18 enum {
19 NSIG = 33,
20 SI_USER = 0x10001,
21 SS_DISABLE = 4,
22 RLIMIT_AS = 10,
23 };
19 24
20 #define NSIG 33
21 #define SI_USER 0x10001
22
23 #define RLIMIT_AS 10
24 typedef struct Rlimit Rlimit; 25 typedef struct Rlimit Rlimit;
25 struct Rlimit { 26 struct Rlimit {
26 int64 rlim_cur; 27 int64 rlim_cur;
27 int64 rlim_max; 28 int64 rlim_max;
28 }; 29 };
29 int32 runtime·getrlimit(int32, Rlimit*); 30 int32 runtime·getrlimit(int32, Rlimit*);
LEFTRIGHT

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