fn scoped_thread<F: FnOnce() -> R + Send, R: Send>(cfg: Builder, f: F) -> R
Expand description

Like a thread::Builder::spawn followed by a join(), but avoids the need for 'static bounds.