Getting a handle to the current thread with thread::current() : use std::thread; let handler = thread::Builder::new() .name("named thread".into()) .spawn(|| ...
確定! 回上一頁