[src]

Function native::start

pub fn start(argc: int, argv: **u8, main: proc()) -> int

Executes the given procedure after initializing the runtime with the given argc/argv.

This procedure is guaranteed to run on the thread calling this function, but the stack bounds for this rust task will not be set. Care must be taken for this function to not overflow its stack.

This function will only return once all native threads in the system have exited.