d9b84a546c
channel lifecycle bugs.
10 lines
181 B
Rust
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."; }
|