mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -23,7 +23,7 @@ use js::panic::wrap_panic;
|
|||
use js::rust::Runtime;
|
||||
use microtask::{EnqueuedPromiseCallback, Microtask};
|
||||
use profile_traits::mem::{Report, ReportKind, ReportsChan};
|
||||
use script_thread::{STACK_ROOTS, Task, trace_thread};
|
||||
use script_thread::{STACK_ROOTS, trace_thread};
|
||||
use servo_config::opts;
|
||||
use servo_config::prefs::PREFS;
|
||||
use std::cell::Cell;
|
||||
|
@ -35,6 +35,7 @@ use std::os::raw::c_void;
|
|||
use std::panic::AssertUnwindSafe;
|
||||
use std::ptr;
|
||||
use style::thread_state;
|
||||
use task::Task;
|
||||
use time::{Tm, now};
|
||||
|
||||
/// Common messages used to control the event loops in both the script and the worker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue