sjf: sets current process