Function shuttle::check_random

source ·
pub fn check_random<F>(f: F, iterations: usize)
where F: Fn() + Send + Sync + 'static,
Expand description

Run the given function under a randomized concurrency scheduler for some number of iterations. Each iteration will run a (potentially) different randomized schedule.