Using deadlines instead of priorities