simulated process scheduler