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

Side by Side Diff: src/pkg/runtime/tiny/thread.c

Issue 3787046: code review 3787046: runtime: revert 6974:1f3c3696babb (Closed)
Patch Set: code review 3787046: runtime: revert 6974:1f3c3696babb Created 14 years, 2 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:
View unified diff | Download patch
« no previous file with comments | « src/pkg/runtime/string.goc ('k') | src/pkg/runtime/windows/thread.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 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 6
7 int8 *goos = "tiny"; 7 int8 *goos = "tiny";
8 8
9 void 9 void
10 runtime·minit(void) 10 runtime·minit(void)
11 { 11 {
12 } 12 }
13 13
14 void 14 void
15 runtime·osinit(void) 15 runtime·osinit(void)
16 { 16 {
17 } 17 }
18 18
19 void 19 void
20 runtime·goenvs(void)
21 {
22 runtime·goenvs_unix();
23 }
24
25 void
20 runtime·initsig(int32 queue) 26 runtime·initsig(int32 queue)
21 { 27 {
22 } 28 }
23 29
24 void 30 void
25 runtime·exit(int32) 31 runtime·exit(int32)
26 { 32 {
27 for(;;); 33 for(;;);
28 } 34 }
29 35
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 n->lock.key = 1; 83 n->lock.key = 1;
78 } 84 }
79 85
80 void 86 void
81 runtime·notesleep(Note *n) 87 runtime·notesleep(Note *n)
82 { 88 {
83 if(n->lock.key != 1) 89 if(n->lock.key != 1)
84 runtime·throw("notesleep"); 90 runtime·throw("notesleep");
85 } 91 }
86 92
OLDNEW
« no previous file with comments | « src/pkg/runtime/string.goc ('k') | src/pkg/runtime/windows/thread.c » ('j') | no next file with comments »

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