readyqueue and blockqueue modified
readyqueue and blockqueue modified