Function cargo_test_support::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.
pub fn thread_wait_timeout<T>(n: u32, thread: JoinHandle<T>) -> T
Helper that waits for a thread to finish, up to n
tenths of a second.