Threadpool refactor (#294)

* Switch worker lifecycle to an enum
* Move some files around
* Rename State -> PoolState
This commit is contained in:
Carl Lerche
2018-04-03 22:35:59 -07:00
committed by GitHub
parent 3ba5595233
commit 79afc7ee68
12 changed files with 340 additions and 224 deletions
+1 -4
View File
@@ -20,20 +20,17 @@ pub mod park;
mod builder;
mod callback;
mod config;
mod inner;
#[cfg(feature = "unstable-futures")]
mod futures2_wake;
mod notifier;
mod pool;
mod sender;
mod shutdown;
mod shutdown_task;
mod sleep_stack;
mod state;
mod task;
mod thread_pool;
mod worker;
mod worker_entry;
mod worker_state;
pub use builder::Builder;
pub use sender::Sender;