fn foo() ! {} fn main() { mut ths := []thread{} ths << spawn foo() ths.wait() }