Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel and re-schedule low-priority task if high-priority task is scheduled #1266

Open
ahoppen opened this issue May 9, 2024 · 0 comments
Open

Comments

@ahoppen
Copy link
Collaborator

ahoppen commented May 9, 2024

When TaskScheduler has all execution slots filled up with low priority tasks and a high-priority task is scheduled, we should cancel and reschedule the newest low-priority task (newest because it has probably made the least progress that we would cancel).

rdar://127474310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant