software scheduling around hazards and interrupts lecture 4 1520618