Clean up transitionary glue in task/spawn.rs. Don't hold kill-little-lock for O(n) time, cf #3100, and optimize out several unneeded clone()s.
This commit is contained in:
parent
ce48e71d28
commit
5ac8c57bd4
4 changed files with 69 additions and 138 deletions
|
@ -38,7 +38,6 @@
|
|||
use prelude::*;
|
||||
|
||||
use cell::Cell;
|
||||
use cmp::Eq;
|
||||
use comm::{stream, Chan, GenericChan, GenericPort, Port};
|
||||
use result::Result;
|
||||
use result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue