mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
main: Disable parallel selector matching due to races.
To verify, turn ON optimizations and go to: http://en.wikipedia.org/wiki/Yellow_River
This commit is contained in:
parent
a76f761ed3
commit
362c2718f7
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ impl MatchMethods for AbstractNode<LayoutView> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fn match_subtree(&self, stylist: RWArc<Stylist>) {
|
fn match_subtree(&self, stylist: RWArc<Stylist>) {
|
||||||
let num_tasks = rt::default_sched_threads() * 2;
|
// FIXME(pcwalton): Racy. Parallel CSS selector matching is disabled.
|
||||||
|
//let num_tasks = rt::default_sched_threads() * 2;
|
||||||
|
let num_tasks = 1;
|
||||||
let mut node_count = 0;
|
let mut node_count = 0;
|
||||||
let mut nodes_per_task = vec::from_elem(num_tasks, ~[]);
|
let mut nodes_per_task = vec::from_elem(num_tasks, ~[]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue