Function reord::start

source ·
pub async fn start(tasks: usize) -> JoinHandle<()>
Expand description

Start the test once tasks tasks are ready for execution

This should be called after at least tasks tasks have been spawned on the executor, wrapped by new_task.

This will start executing the tasks in a random but reproducible order, and then return as soon as the tasks tasks have started executing.

This returns a JoinHandle, that you should join if you want to catch panics related to lock handling.