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

Adding API functions set_config_entry_callback #2374

Merged
merged 2 commits into from Nov 3, 2016

Conversation

Projects
None yet
2 participants
@hkaiser
Copy link
Member

commented Oct 27, 2016

  • made key/value registry thread safe
  • renamed the header file declaring the API functions
  • add test

@hkaiser hkaiser added this to the 1.0.0 milestone Oct 27, 2016

@hkaiser hkaiser force-pushed the set_config_entry_callback branch from 49147e9 to d1ea9a3 Oct 27, 2016

HPX_API_EXPORT std::string get_config_entry(std::string const& key,
std::string const& dflt);
/// Retrieve the integer value of a configuration entry given by \p key.
HPX_API_EXPORT std::string get_config_entry(std::string const& key,

This comment has been minimized.

Copy link
@sithhell

sithhell Oct 28, 2016

Member

shouldn't this return a std::size_t?

This comment has been minimized.

Copy link
@hkaiser

hkaiser Oct 28, 2016

Author Member

Yes, this PR has not changed that. It was this way all the time.

hkaiser added some commits Oct 22, 2016

Adding API function set_config_entry
- made key/value registry thread safe
- renamed the header file declaring the API functions
- add test
Adding API function set_config_entry_callback
- this function allows to attach a callback to configuration entries to be invoked when the entry is changed
- added test
- flyby: changed parcel coalescing to register callbacks instead of actively querying configuration entry values

@hkaiser hkaiser force-pushed the set_config_entry_callback branch from d1ea9a3 to c5478fe Oct 28, 2016

@hkaiser hkaiser merged commit 0ebdeaf into master Nov 3, 2016

1 check passed

ci/circleci Your tests passed on CircleCI!
Details

@hkaiser hkaiser deleted the set_config_entry_callback branch Nov 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.