1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

/// General purpose imports for using the smartpool system.

pub use pool::{
    OwnedPool,
    Pool,
};
pub use channel::{
    Exec,
    ExecParam,
};
pub use timescheduler::TimeScheduler;
pub use run::{
    run,
    try_run
};
pub use scoped::{
    scoped,
    Scope,
};

pub mod setup {
    /// Imports for configuring a pool behavior.

    pub use super::*;
    pub use ::{
        PoolBehavior,
        PoolConfig,
        ChannelParams,
        ChannelToucher,
        ChannelToucherMut,
        RunningTask,
        ScheduleAlgorithm,
    };
    pub use pool::{
        OwnedPool
    };
    pub use channel::{
        VecDequeChannel,
        ShortestDeadlineFirst,
        MultiChannel,
        Exec,
        ExecParam,
        Channel
    };
    pub use scoped::{
        scoped,
        Scope,
    };
}