mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Move Task to its own module
This commit is contained in:
parent
8e78f18d2d
commit
46628fba05
33 changed files with 115 additions and 90 deletions
|
@ -25,12 +25,12 @@ use dom_struct::dom_struct;
|
|||
use ipc_channel::ipc;
|
||||
use js::jsapi::{HandleValue, JSAutoCompartment, JSContext, NullHandleValue};
|
||||
use js::jsval::UndefinedValue;
|
||||
use script_thread::Task;
|
||||
use script_traits::WorkerScriptLoadOrigin;
|
||||
use std::cell::Cell;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::mpsc::{Sender, channel};
|
||||
use task::Task;
|
||||
|
||||
pub type TrustedWorkerAddress = Trusted<Worker>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue