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

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

Issue 5697066: code review 5697066: runtime/pprof: support OS X CPU profiling (Closed)
Left Patch Set: diff -r 84582b0431a1 https://code.google.com/p/go/ Created 13 years ago
Right Patch Set: diff -r aa03e1f59b18 https://go.googlecode.com/hg/ Created 13 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/lock_sema.c ('k') | src/pkg/runtime/os_freebsd.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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
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
LEFTRIGHT

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