blob: 0b20762915992d0e6edc7c0b3b13af1d075f29a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// -*- rust -*-
use std;
import task;
import task::*;
fn main() {
let other = task::spawn_joinable((), child);
log_err "1";
yield();
join(other);
}
fn child(&&_i: ()) { log_err "2"; }
|