Issue #9561 continued - renamed *_thread_source to *_task_source in global.rs and related files

This commit is contained in:
Kamil Muszyński 2016-02-17 21:25:12 +01:00
parent 61f09cce4e
commit c6dfd7e2fa
6 changed files with 19 additions and 19 deletions

View file

@ -358,10 +358,10 @@ impl FileReader {
let load_data = ReadMetaData::new(String::from(type_), label.map(String::from), function);
let fr = Trusted::new(self, global.file_reading_thread_source());
let fr = Trusted::new(self, global.file_reading_task_source());
let gen_id = self.generation_id.get();
let script_chan = global.file_reading_thread_source();
let script_chan = global.file_reading_task_source();
spawn_named("file reader async operation".to_owned(), move || {
perform_annotated_read_operation(gen_id, load_data, blob_contents, fr, script_chan)