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

patchkernel: allow evaluating patch owner also when patch is dirty #301

Merged
merged 1 commit into from
May 18, 2022

Conversation

andrea-iob
Copy link
Member

The functions isDistributed and getOwner can now be called also when the patch is not up-to-date (the argument allowDirty should be set to true). If dirty patches are allowed and the patch is actually dirty, the functions will evaluate the owner on-the-fly. Otherwise the functions will use the owner evaluated during the last update. In any case, if dirt patches are allowed, the function is a collective function and needs to be called by all processes (otherwise a deadlock will occur).

@andrea-iob andrea-iob merged commit aae7e1d into master May 18, 2022
@andrea-iob andrea-iob deleted the patchkernel.get.owner.dirty branch May 18, 2022 06:53
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.

2 participants