rustc_data_structures::sync

Function join

source
pub fn join<A, B, RA: DynSend, RB: DynSend>(oper_a: A, oper_b: B) -> (RA, RB)
where A: FnOnce() -> RA + DynSend, B: FnOnce() -> RB + DynSend,