3 ms·
`std::thread::scope` takes a closure, and joins the threads after the call to the closure returns, rather than relying on `Drop`.
by kam 4y ago
`std::thread::scope` takes a closure, and joins the threads after the call to the closure returns, rather than relying on `Drop`.