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

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

Issue 12248043: code review 12248043: runtime: print "created by" for running goroutines in t... (Closed)
Left Patch Set: Created 11 years, 8 months ago
Right Patch Set: diff -r 6f0b4e0f38f8 https://dvyukov%40google.com@code.google.com/p/go/ Created 11 years, 8 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/proc.c ('k') | src/pkg/runtime/traceback_arm.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 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 /* 5 /*
6 * basic types 6 * basic types
7 */ 7 */
8 typedef signed char int8; 8 typedef signed char int8;
9 typedef unsigned char uint8; 9 typedef unsigned char uint8;
10 typedef signed short int16; 10 typedef signed short int16;
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1032 void runtime·mapassign(MapType*, Hmap*, byte*, byte*); 1032 void runtime·mapassign(MapType*, Hmap*, byte*, byte*);
1033 void runtime·mapaccess(MapType*, Hmap*, byte*, byte*, bool*); 1033 void runtime·mapaccess(MapType*, Hmap*, byte*, byte*, bool*);
1034 void runtime·mapiternext(struct hash_iter*); 1034 void runtime·mapiternext(struct hash_iter*);
1035 bool runtime·mapiterkey(struct hash_iter*, void*); 1035 bool runtime·mapiterkey(struct hash_iter*, void*);
1036 Hmap* runtime·makemap_c(MapType*, int64); 1036 Hmap* runtime·makemap_c(MapType*, int64);
1037 1037
1038 Hchan* runtime·makechan_c(ChanType*, int64); 1038 Hchan* runtime·makechan_c(ChanType*, int64);
1039 void runtime·chansend(ChanType*, Hchan*, byte*, bool*, void*); 1039 void runtime·chansend(ChanType*, Hchan*, byte*, bool*, void*);
1040 void runtime·chanrecv(ChanType*, Hchan*, byte*, bool*, bool*); 1040 void runtime·chanrecv(ChanType*, Hchan*, byte*, bool*, bool*);
1041 bool runtime·showframe(Func*, G*); 1041 bool runtime·showframe(Func*, G*);
1042 void runtime·printcreatedby(G*);
1042 1043
1043 void runtime·ifaceE2I(InterfaceType*, Eface, Iface*); 1044 void runtime·ifaceE2I(InterfaceType*, Eface, Iface*);
1044 1045
1045 uintptr runtime·memlimit(void); 1046 uintptr runtime·memlimit(void);
1046 1047
1047 // If appropriate, ask the operating system to control whether this 1048 // If appropriate, ask the operating system to control whether this
1048 // thread should receive profiling signals. This is only necessary on OS X. 1049 // thread should receive profiling signals. This is only necessary on OS X.
1049 // An operating system should not deliver a profiling signal to a 1050 // An operating system should not deliver a profiling signal to a
1050 // thread that is not actually executing (what good is that?), but that's 1051 // thread that is not actually executing (what good is that?), but that's
1051 // what OS X prefers to do. When profiling is turned on, we mask 1052 // what OS X prefers to do. When profiling is turned on, we mask
1052 // away the profiling signal when threads go to sleep, so that OS X 1053 // away the profiling signal when threads go to sleep, so that OS X
1053 // is forced to deliver the signal to a thread that's actually running. 1054 // is forced to deliver the signal to a thread that's actually running.
1054 // This is a no-op on other systems. 1055 // This is a no-op on other systems.
1055 void runtime·setprof(bool); 1056 void runtime·setprof(bool);
1056 1057
1057 // float.c 1058 // float.c
1058 extern float64 runtime·nan; 1059 extern float64 runtime·nan;
1059 extern float64 runtime·posinf; 1060 extern float64 runtime·posinf;
1060 extern float64 runtime·neginf; 1061 extern float64 runtime·neginf;
1061 extern uint64 ·nan; 1062 extern uint64 ·nan;
1062 extern uint64 ·posinf; 1063 extern uint64 ·posinf;
1063 extern uint64 ·neginf; 1064 extern uint64 ·neginf;
1064 #define ISNAN(f) ((f) != (f)) 1065 #define ISNAN(f) ((f) != (f))
1065 1066
1066 enum 1067 enum
1067 { 1068 {
1068 UseSpanType = 1, 1069 UseSpanType = 1,
1069 }; 1070 };
LEFTRIGHT

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