2011-06-23 20:49:29 -05:00
|
|
|
use std;
|
|
|
|
|
|
|
|
import std::task::join;
|
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn main() { test00(); }
|
2010-07-19 16:05:18 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn start() { log "Started / Finished task."; }
|
2010-07-19 16:05:18 -05:00
|
|
|
|
2011-08-06 12:07:39 -05:00
|
|
|
fn test00() { let t: task = spawn start(); join(t); log "Completing."; }
|