cargo_test_support

Function thread_wait_timeout

source
pub fn thread_wait_timeout<T>(n: u32, thread: JoinHandle<T>) -> T
Expand description

Helper that waits for a thread to finish, up to n tenths of a second.