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

synchronize while-committing callbacks in CommitBarrier #23

Open
nbronson opened this issue Oct 19, 2011 · 0 comments
Open

synchronize while-committing callbacks in CommitBarrier #23

nbronson opened this issue Oct 19, 2011 · 0 comments

Comments

@nbronson
Copy link
Owner

While-committing callbacks happen after the commit decision but before the effects of the transaction have become visible. We should extend the CommitBarrier semantics so that no effects from any commit barrier member become visible until all of the while-committing callbacks have completed.

One way to do this would be to add another callback method to the ExternalDecider trait, perhaps endCommitting. The commit barrier implementation would then perform a second barrier at this point. Various optimizations are possible if the second barrier only has arrivals for members that are known to have while-committing callbacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant