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