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

Question: about obstruction-freedom in FCQueue #1

Open
rendner opened this issue Feb 2, 2024 · 0 comments
Open

Question: about obstruction-freedom in FCQueue #1

rendner opened this issue Feb 2, 2024 · 0 comments

Comments

@rendner
Copy link

rendner commented Feb 2, 2024

Hi Nikita,

I started to implement the algorithms as described in your recorded talks. In your skeleton code, the modelCheckingTest for the FCQueue expects obstruction-freedom. The flat combining algorithm requires a lock to be able to enter the combine-and-apply step. Therefore, obstruction-freedom can't be guaranteed. Or I'm wrong?

This is my implementation of the FCQueue which only successfully executes the modelCheckingTest if I exclude checkObstructionFreedom(): https://github.com/rendner/Hydra2022/blob/master/src/fcqueue/FCQueue.kt

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

No branches or pull requests

1 participant