mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
This also bumps: * tokio-executor to v0.1.2 * tokio-threadpool to v0.1.2 * tokio-timer to v0.2.0
43 lines
838 B
Rust
43 lines
838 B
Rust
//! A work-stealing based thread pool for executing futures.
|
|
|
|
#![doc(html_root_url = "https://docs.rs/tokio-threadpool/0.1.2")]
|
|
#![deny(warnings, missing_docs, missing_debug_implementations)]
|
|
|
|
extern crate tokio_executor;
|
|
extern crate futures;
|
|
extern crate crossbeam_deque as deque;
|
|
extern crate num_cpus;
|
|
extern crate rand;
|
|
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
#[cfg(feature = "unstable-futures")]
|
|
extern crate futures2;
|
|
|
|
pub mod park;
|
|
|
|
mod builder;
|
|
mod callback;
|
|
mod config;
|
|
mod inner;
|
|
#[cfg(feature = "unstable-futures")]
|
|
mod futures2_wake;
|
|
mod notifier;
|
|
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;
|
|
pub use shutdown::Shutdown;
|
|
pub use thread_pool::ThreadPool;
|
|
pub use worker::Worker;
|