Use external 'threadpool' crate, remove in-tree utility.

This commit is contained in:
Corey Farwell 2016-02-27 21:13:08 -05:00
parent e551ea7322
commit 182b9b1e4f
8 changed files with 21 additions and 58 deletions

View file

@ -41,6 +41,7 @@ log = "0.3.5"
mime_guess = "1.6.0"
openssl = "0.7.6"
rustc-serialize = "0.3"
threadpool = "1.0"
time = "0.1.17"
url = {version = "0.5.7", features = ["heap_size"]}
uuid = "0.1.16"

View file

@ -19,10 +19,10 @@ use std::io::Read;
use std::mem;
use std::sync::Arc;
use std::sync::mpsc::{Sender, Receiver, channel};
use threadpool::ThreadPool;
use url::Url;
use util::resource_files::resources_dir_path;
use util::thread::spawn_named;
use util::threadpool::ThreadPool;
use webrender_traits;
///

View file

@ -25,6 +25,7 @@ extern crate msg;
extern crate net_traits;
extern crate openssl;
extern crate rustc_serialize;
extern crate threadpool;
extern crate time;
extern crate url;
extern crate util;