[src]

Function green::start

pub fn start(argc: int, argv: **u8, event_loop_factory: fn() -> ~EventLoop<Send>, main: proc()) -> int

Set up a default runtime configuration, given compiler-supplied arguments.

This function will block until the entire pool of M:N schedulers have exited. This function also requires a local task to be available.

Arguments

Return value

The return value is used as the process return code. 0 on success, 101 on error.