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

Deprecate CoreContext thread pools #848

Merged
merged 4 commits into from
Feb 10, 2016
Merged

Deprecate CoreContext thread pools #848

merged 4 commits into from
Feb 10, 2016

Conversation

codemercenary
Copy link
Contributor

This concept is hard to manage and has very unexpected behavior. Contexts should be containers used to manage a fixed set of well-defined classes; the thread pool should be used as a utility type for handling pooling operations, and the two types should not really meet.

At a later time it might make sense to have ThreadPool inherit CoreRunnable, but for now it's fine to keep the interfaces unrelated.

This concept is hard to manage and has very unexpected behavior.  Contexts should be containers used to manage a fixed set of well-defined classes; the thread pool should be used as a utility type for handling pooling operations, and the two types should not really meet.

At a later time it might make sense to have `ThreadPool` inherit `CoreRunnable`, but for now it's fine to keep the interfaces unrelated.
veronicaz41 pushed a commit that referenced this pull request Feb 10, 2016
Deprecate `CoreContext` thread pools
@veronicaz41 veronicaz41 merged commit 9eee4b9 into develop Feb 10, 2016
@veronicaz41 veronicaz41 deleted the dep-threadpool branch February 10, 2016 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants