Skip to content

Conversation

@Oreeeee
Copy link

@Oreeeee Oreeeee commented Dec 28, 2025

This adds support for OnIdle event in the SmartThreadPool class, so it's not limited to WorkItemGroup anymore. This works by firing the event when IsIdle changes from false to true. From my testing, this works as expected in a small pool (4 threads with 100 queued CPU-heavy jobs).

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