Learn Rust - Starting a new thread. ... use std::thread; fn main() { thread::spawn(move || { // The main thread will not wait for this thread to finish.
確定! 回上一頁