edf-earliest deadline first premitive: