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

Swap to a new scheduler implementation #127

Merged
merged 51 commits into from
Aug 21, 2024
Merged

Conversation

TrentHouliston
Copy link
Member

@TrentHouliston TrentHouliston commented Aug 16, 2024

The old scheduler had the possiblity of a deadlock when two of the threads came in and tried to acquire the idle and pool mutexes at the same time.

This scheduler has rearranged parts of the locks to ensure that deadlocks don't happen.
As a side effect should also fix the issue raised in #109

A feature which has come about as a result is that tasks may belong to multiple sync groups at once

@TrentHouliston TrentHouliston merged commit 534a98f into main Aug 21, 2024
9 of 12 checks passed
@TrentHouliston TrentHouliston deleted the houliston/newscheduler branch August 21, 2024 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant