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

register_[pre_]shutdown_function never throw #952

Closed
K-ballo opened this issue Oct 16, 2013 · 0 comments
Closed

register_[pre_]shutdown_function never throw #952

K-ballo opened this issue Oct 16, 2013 · 0 comments
Assignees
Labels
category: init difficulty: easy Good issues for starting out with HPX development type: defect type: enhancement
Milestone

Comments

@K-ballo
Copy link
Member

K-ballo commented Oct 16, 2013

The documentation for those functions state:

If this function is called before the runtime system is 
initialized, or while the shutdown functions are 
being executed, or after that point, it will raise a `invalid_status` 
exception.

Their implementations actually never throw. Ideally, these functions would correctly install the callbacks if called before the runtime system is initialized, and only throw an exception if called after the shutdown functions began executing.

@ghost ghost assigned hkaiser Oct 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: init difficulty: easy Good issues for starting out with HPX development type: defect type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants