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
#![allow(non_camel_case_types)] // I prefer to use ALL_CAPS for type parameters

extern crate deque;
extern crate libc;
extern crate num_cpus;
extern crate rand;

#[macro_use]
mod log;

mod api;
mod latch;
mod job;
pub mod par_iter;
pub mod prelude;
#[cfg(test)] mod test;
#[cfg(feature = "unstable")]
mod scope;
mod thread_pool;
mod unwind;
mod util;

pub use api::Configuration;
pub use api::InitError;
pub use api::dump_stats;
pub use api::initialize;
pub use api::join;
pub use api::ThreadPool;
#[cfg(feature = "unstable")]
pub use scope::{scope, Scope};