rust/src/test/run-pass/task-comm-1.rs
2011-08-08 08:57:52 -07:00

10 lines
181 B
Rust

use std;
import std::task::join;
fn main() { test00(); }
fn start() { log "Started / Finished task."; }
fn test00() { let t: task = spawn start(); join(t); log "Completing."; }