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

Delta Between Two Patch Sets: src/pkg/runtime/thread_linux.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_freebsd.c ('k') | src/pkg/runtime/thread_netbsd.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 // 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 #include "runtime.h" 5 #include "runtime.h"
6 #include "defs.h" 6 #include "defs_GOOS_GOARCH.h"
7 #include "os.h" 7 #include "os_GOOS.h"
8 #include "stack.h" 8 #include "stack.h"
9 9
10 extern SigTab runtime·sigtab[]; 10 extern SigTab runtime·sigtab[];
11 11
12 int32 runtime·open(uint8*, int32, int32); 12 int32 runtime·open(uint8*, int32, int32);
13 int32 runtime·close(int32); 13 int32 runtime·close(int32);
14 int32 runtime·read(int32, void*, int32); 14 int32 runtime·read(int32, void*, int32);
15 15
16 // Linux futex. 16 // Linux futex.
17 // 17 //
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 switch(g->sigcode0) { 197 switch(g->sigcode0) {
198 case FPE_INTDIV: 198 case FPE_INTDIV:
199 runtime·panicstring("integer divide by zero"); 199 runtime·panicstring("integer divide by zero");
200 case FPE_INTOVF: 200 case FPE_INTOVF:
201 runtime·panicstring("integer overflow"); 201 runtime·panicstring("integer overflow");
202 } 202 }
203 runtime·panicstring("floating point error"); 203 runtime·panicstring("floating point error");
204 } 204 }
205 runtime·panicstring(runtime·sigtab[g->sig].name); 205 runtime·panicstring(runtime·sigtab[g->sig].name);
206 } 206 }
LEFTRIGHT

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