2011-06-15 20:16:17 -05:00
|
|
|
// -*- rust -*-
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2011-06-15 20:16:17 -05:00
|
|
|
use std;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn main() { let t = spawn child(10); std::task::join(t); }
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn child(i: int) { log_err i; assert (i == 10); }
|
2010-06-23 23:03:09 -05:00
|
|
|
|
2011-05-26 20:00:33 -05:00
|
|
|
// Local Variables:
|
|
|
|
// mode: rust;
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
|
|
|
// c-basic-offset: 4
|
|
|
|
// buffer-file-coding-system: utf-8-unix
|
2011-06-15 14:01:19 -05:00
|
|
|
// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
2011-05-26 20:00:33 -05:00
|
|
|
// End:
|