Simple framework for race condition simulations