Function std::rt::run_on_main_thread

pub fn run_on_main_thread(main: ~fn()) -> int