ThreadPool refactoring (#299)

This commit is contained in:
Carl Lerche
2018-04-04 13:30:54 -07:00
committed by GitHub
parent c715739599
commit 0bcf9b0ae6
14 changed files with 522 additions and 373 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
use pool::Inner;
use pool::Pool;
use sender::Sender;
use std::sync::atomic::Ordering::{Acquire};
@@ -24,7 +24,7 @@ pub struct Shutdown {
}
impl Shutdown {
fn inner(&self) -> &Inner {
fn inner(&self) -> &Pool {
&*self.inner.inner
}
}