Changes to ready queue and block queue