2 #![allow(unused_must_use)]
4 // ignore-emscripten no threads support
8 pub fn main() { test00(); }
10 fn start(_task_number
: isize) { println!("Started / Finished task."); }
14 let mut result
= thread
::spawn(move|| {
18 // Sleep long enough for the thread to finish.
25 // Try joining threads that have already finished.
28 println
!("Joined task.");