@@ -103,42 +103,84 @@ pub extern "C" fn rust_main() -> ! {
103
103
>
104
104
> >>>> will switch_to thread 0 in idie_main!
105
105
> begin of thread 0
106
- > 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
106
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
107
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
108
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
109
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
110
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
111
+ > 000000000000
107
112
> <<<< switch_back to idle in idle_main!
108
113
>
109
114
> >>>> will switch_to thread 1 in idie_main!
110
115
> begin of thread 1
111
- > 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
116
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
117
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
118
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
119
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
120
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
121
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
122
+ > 11111111111111111111111
112
123
> <<<< switch_back to idle in idle_main!
113
124
>
114
125
> >>>> will switch_to thread 2 in idie_main!
115
126
> begin of thread 2
116
- > 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
127
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
128
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
129
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
130
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
131
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
132
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
133
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
134
+ > 22222222222222222222222222222222222222
117
135
> <<<< switch_back to idle in idle_main!
118
136
>
119
137
> >>>> will switch_to thread 3 in idie_main!
120
138
> begin of thread 3
121
- > 333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
139
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
140
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
141
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
142
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
143
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
144
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
145
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
146
+ > 33333333333333333333
122
147
> <<<< switch_back to idle in idle_main!
123
148
>
124
149
> >>>> will switch_to thread 4 in idie_main!
125
150
> begin of thread 4
126
- > 4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444
151
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
152
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
153
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
154
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
155
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
156
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
157
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
158
+ > 444444444444444444444444
127
159
> <<<< switch_back to idle in idle_main!
128
160
>
129
161
> >>>> will switch_to thread 0 in idie_main!
130
- > 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
162
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
163
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
164
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
165
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
166
+ > 0000000000000000000000000000000000000000000000000000000000000000000000000
167
+ > 0000000000000000000000000000000000000000000000000000000000
131
168
> end of thread 0
132
169
> thread 0 exited , exit code = 0
133
170
>
134
171
> <<<< switch_back to idle in idle_main!
135
172
>
136
173
> >>>> will switch_to thread 1 in idie_main!
137
- > 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
174
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
175
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
176
+ > 111111111111111111111111111111111111111111111111
138
177
> <<<< switch_back to idle in idle_main!
139
178
>
140
179
> >>>> will switch_to thread 2 in idie_main!
141
- > 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
180
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
181
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
182
+ > 2222222222222222222222222222222222222222222222222222222222222222222222222
183
+ > 22222222222222222222222222222222
142
184
> end of thread 2
143
185
> thread 2 exited , exit code = 0
144
186
>
@@ -149,11 +191,14 @@ pub extern "C" fn rust_main() -> ! {
149
191
> <<<< switch_back to idle in idle_main!
150
192
>
151
193
> >>>> will switch_to thread 4 in idie_main!
152
- > 4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444
194
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
195
+ > 4444444444444444444444444444444444444444444444444444444444444444444444444
196
+ > 44444444444444444444444444444444444444444444444444444444444444444444
153
197
> <<<< switch_back to idle in idle_main!
154
198
>
155
199
> >>>> will switch_to thread 1 in idie_main!
156
- > 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
200
+ > 1111111111111111111111111111111111111111111111111111111111111111111111111
201
+ > 111111111111111111111111111111111111111111111111111111111111111111111111
157
202
> end of thread 1
158
203
> thread 1 exited , exit code = 0
159
204
>
@@ -175,7 +220,9 @@ pub extern "C" fn rust_main() -> ! {
175
220
> <<<< switch_back to idle in idle_main!
176
221
>
177
222
> >>>> will switch_to thread 3 in idie_main!
178
- > 33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
223
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
224
+ > 3333333333333333333333333333333333333333333333333333333333333333333333333
225
+ > 333333333333333333333333333
179
226
> end of thread 3
180
227
> thread 3 exited , exit code = 0
181
228
>
0 commit comments