1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Dynamic task executor. //! //! Inspired by golang runtime. //! //! It is okay to do blocking inside a task, the executor will //! detect this, and scale the thread pool. #[macro_use] extern crate lazy_static; #[macro_use] mod utils; mod executor; mod thread_pool; pub use executor::spawn;