Skip to content

fix: Avoid dropping of tasks that don't fit in local queue#39

Merged
NthTensor merged 1 commit intoNthTensor:mainfrom
davidlattimore:push-qortowvyllqr
Dec 26, 2025
Merged

fix: Avoid dropping of tasks that don't fit in local queue#39
NthTensor merged 1 commit intoNthTensor:mainfrom
davidlattimore:push-qortowvyllqr

Conversation

@davidlattimore
Copy link
Contributor

No description provided.

@davidlattimore
Copy link
Contributor Author

This fixes a deadlock seen in the test scope::tests::scoped_concurrency. Where more than 64 jobs were spawned into a scope, the job queue for that worker would fill up. The remaining jobs would be discarded without being executed. When the scoped tried to finish, it would wait for all jobs to complete, which would never happen because some had been lost.

Issue #37

@NthTensor NthTensor merged commit 570defa into NthTensor:main Dec 26, 2025
4 checks passed
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.

2 participants