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 task::Task;
use std::mem;
@@ -12,7 +12,7 @@ use futures::executor::Notify;
/// to poll the future again.
#[derive(Debug)]
pub(crate) struct Notifier {
pub inner: Weak<Inner>,
pub inner: Weak<Pool>,
}
impl Notify for Notifier {