replace stdlib RwLock and Mutex with parking_lot (#1793)

* replace all stdlib RwLock with parking_lot RwLock

* replace stdlib Mutex with parking_lot Mutex

* rustfmt
This commit is contained in:
Gary Yu
2018-10-20 08:13:07 +08:00
committed by GitHub
parent f2949efbfd
commit 0d06561a91
57 changed files with 324 additions and 280 deletions
+2 -1
View File
@@ -18,9 +18,10 @@ use std::io::Read;
use std::path::PathBuf;
/// Wallet commands processing
use std::process::exit;
use std::sync::{Arc, Mutex};
use std::sync::Arc;
use std::time::Duration;
use std::{process, thread};
use util::Mutex;
use clap::ArgMatches;