summaryrefslogtreecommitdiffstats
path: root/tokio/src/blocking/mod.rs
blob: 500055ae94d441c2665b388b85e66b2d86f9e00b (plain)
1
2
3
4
5
6
7
8
9
10
11
#![cfg_attr(not(feature = "blocking"), allow(dead_code, unused_imports))]

//! Perform blocking operations from an asynchronous context.

cfg_blocking_impl! {
    mod pool;
    pub(crate) use pool::{spawn_blocking, BlockingPool, Spawner};

    mod schedule;
    mod task;
}