use std; import std::comm; import std::task; fn# start(c: comm::chan>) { let p: comm::port = comm::port(); comm::send(c, comm::chan(p)); } fn main() { let p = comm::port(); let child = task::spawn2(comm::chan(p), start); let c = comm::recv(p); }