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

Delta Between Two Patch Sets: src/pkg/runtime/thread_netbsd.c

Issue 5490053: code review 5490053: runtime: make more build-friendly (Closed)
Left Patch Set: diff -r 4bd43e05039c https://go.googlecode.com/hg/ Created 13 years, 3 months ago
Right Patch Set: diff -r 046739c8299b https://go.googlecode.com/hg/ Created 13 years, 3 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/thread_linux.c ('k') | src/pkg/runtime/thread_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
1 // Use of this source file is governed by a BSD-style 1 // Use of this source file is governed by a BSD-style
2 // license that can be found in the LICENSE file.` 2 // license that can be found in the LICENSE file.`
3 3
4 #include "runtime.h" 4 #include "runtime.h"
5 #include "defs.h" 5 #include "defs_GOOS_GOARCH.h"
6 #include "os.h" 6 #include "os_GOOS.h"
7 #include "stack.h" 7 #include "stack.h"
8 8
9 enum 9 enum
10 { 10 {
11 ESRCH = 3, 11 ESRCH = 3,
12 ENOTSUP = 91, 12 ENOTSUP = 91,
13 13
14 // From NetBSD's sys/time.h 14 // From NetBSD's sys/time.h
15 CLOCK_REALTIME = 0, 15 CLOCK_REALTIME = 0,
16 CLOCK_VIRTUAL = 1, 16 CLOCK_VIRTUAL = 1,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 switch(g->sigcode0) { 188 switch(g->sigcode0) {
189 case FPE_INTDIV: 189 case FPE_INTDIV:
190 runtime·panicstring("integer divide by zero"); 190 runtime·panicstring("integer divide by zero");
191 case FPE_INTOVF: 191 case FPE_INTOVF:
192 runtime·panicstring("integer overflow"); 192 runtime·panicstring("integer overflow");
193 } 193 }
194 runtime·panicstring("floating point error"); 194 runtime·panicstring("floating point error");
195 } 195 }
196 runtime·panicstring(runtime·sigtab[g->sig].name); 196 runtime·panicstring(runtime·sigtab[g->sig].name);
197 } 197 }
LEFTRIGHT

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