Here's an example of simplified threads for Rust: ... fn main() { // 1. create a new thread for i in 1..10 { thread::spawn(|| { println!(
確定! 回上一頁