OLD | NEW |
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 Loading... |
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 |
OLD | NEW |