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

kvs: modify kvs_watch callback type to return integer #77

Merged
merged 6 commits into from
Oct 19, 2014

Conversation

garlick
Copy link
Member

@garlick garlick commented Oct 19, 2014

Like other reactor callbacks, kvs_watch callbacks should return -1 to terminate the reactor, or 0 to continue.
This partially addresses issue #75.

A watch callback should be able to terminate the reactor by returning
-1 like the other reactor callbacks.
The internal watch callback always returns succcess.
Need to update Lua flux api to reflect this change.
@garlick garlick added the review label Oct 19, 2014
grondo added a commit that referenced this pull request Oct 19, 2014
kvs: modify kvs_watch callback type to return integer
@grondo grondo merged commit a6012b4 into flux-framework:master Oct 19, 2014
@grondo grondo removed the review label Oct 19, 2014
@garlick garlick deleted the kvswatch branch November 11, 2014 17:35
grondo added a commit to grondo/flux-core that referenced this pull request Dec 12, 2019
build: add pkg.m4 to support side-install autotools
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.

2 participants