Macro shred::par [] [src]

macro_rules! par {
    ($head:expr, $( $tail:expr ,)*) => { ... };
}

The par! macro may be used to easily create a structure which runs things in parallel.

Examples

#[macro_use(par)]
extern crate shred;

par![
    SysA,
    SysB,
    SysC,
]