Function rustc_interface::util::scoped_thread[][src]

pub 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.