Macro funfun::spawn_fn[][src]

macro_rules! spawn_fn {
    ( $f:expr ) => { ... };
    ( $f:ident, $( $arg:ident ),* ) => { ... };
    ( $f:expr, $( $arg:expr ),* ) => { ... };
}

Starts a new thread and runs the passed closure with the passed arguments in it, returning the new thread's hook.