@@ -146,7 +146,7 @@ impl Seek for FileStream {
146
146
}
147
147
148
148
fn file_test_smoke_test_impl ( ) {
149
- do run_in_newsched_task {
149
+ do run_in_mt_newsched_task {
150
150
let message = "it's alright. have a good time" ;
151
151
let filename = & Path ( "./tmp/file_rt_io_file_test.txt" ) ;
152
152
{
@@ -174,7 +174,7 @@ fn file_test_io_smoke_test() {
174
174
}
175
175
176
176
fn file_test_invalid_path_opened_without_create_should_raise_condition_impl ( ) {
177
- do run_in_newsched_task {
177
+ do run_in_mt_newsched_task {
178
178
let filename = & Path ( "./tmp/file_that_does_not_exist.txt" ) ;
179
179
let mut called = false ;
180
180
do io_error:: cond. trap ( |_| {
@@ -192,7 +192,7 @@ fn file_test_io_invalid_path_opened_without_create_should_raise_condition() {
192
192
}
193
193
194
194
fn file_test_unlinking_invalid_path_should_raise_condition_impl ( ) {
195
- do run_in_newsched_task {
195
+ do run_in_mt_newsched_task {
196
196
let filename = & Path ( "./tmp/file_another_file_that_does_not_exist.txt" ) ;
197
197
let mut called = false ;
198
198
do io_error:: cond. trap ( |_| {
@@ -209,7 +209,7 @@ fn file_test_iounlinking_invalid_path_should_raise_condition() {
209
209
}
210
210
211
211
fn file_test_io_non_positional_read_impl ( ) {
212
- do run_in_newsched_task {
212
+ do run_in_mt_newsched_task {
213
213
use str;
214
214
let message = "ten-four" ;
215
215
let mut read_mem = [ 0 , .. 8 ] ;
@@ -242,7 +242,7 @@ fn file_test_io_non_positional_read() {
242
242
}
243
243
244
244
fn file_test_io_seeking_impl ( ) {
245
- do run_in_newsched_task {
245
+ do run_in_mt_newsched_task {
246
246
use str;
247
247
let message = "ten-four" ;
248
248
let mut read_mem = [ 0 , .. 4 ] ;
@@ -276,7 +276,7 @@ fn file_test_io_seek_and_tell_smoke_test() {
276
276
277
277
fn file_test_io_seek_and_write_impl ( ) {
278
278
use io;
279
- do run_in_newsched_task {
279
+ do run_in_mt_newsched_task {
280
280
use str;
281
281
let initial_msg = "food-is-yummy" ;
282
282
let overwrite_msg = "-the-bar!!" ;
@@ -307,7 +307,7 @@ fn file_test_io_seek_and_write() {
307
307
}
308
308
309
309
fn file_test_io_seek_shakedown_impl ( ) {
310
- do run_in_newsched_task {
310
+ do run_in_mt_newsched_task {
311
311
use str; // 01234567890123
312
312
let initial_msg = "qwer-asdf-zxcv" ;
313
313
let chunk_one = "qwer" ;
0 commit comments