pub struct Burritos_Time { seconds: i64, nanos: i64 } pub struct ThreadId{ id: u64 } pub struct t_error{ t: i32 } extern "C"{ fn Shutdown() -> (); fn SysTime(t: Burritos_Time) -> (); fn Exit(status: i32) -> (); fn Exec(name: String) -> ThreadId; fn newThread(debug_name: String, func: i32, arg: i32) -> ThreadId; fn Join (id: ThreadId) -> t_error; fn Yield() -> (); fn Perror(mess: String) -> (); }