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

Suspend thread cleanup #3073

Merged
merged 5 commits into from Dec 28, 2017
Merged

Conversation

msimberg
Copy link
Contributor

This moves enabling elasticity to the test setup before calling hpx::init, and creates a separate test to check that suspending is only allowed if elasticity is enabled.

Make it more explicit that elasticity should be enabled before starting, and
that it is not something that should be changed dynamically.
// because they do not steal work. Periodic priority scheduler not tested
// because it does not take into account scheduler states when scheduling
// work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we're going to remove those schedulers. Could we add at lest an assert to those until then, making sure nobody uses them in any undue manner?

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@hkaiser hkaiser merged commit 9d93151 into STEllAR-GROUP:master Dec 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants