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

Behaviour of suspended atomic intentions #99

Open
nmontesg opened this issue Jul 5, 2022 · 1 comment
Open

Behaviour of suspended atomic intentions #99

nmontesg opened this issue Jul 5, 2022 · 1 comment

Comments

@nmontesg
Copy link

nmontesg commented Jul 5, 2022

I have found that suspending atomic intentions blocks the processing of further events. I guess that is because intentions that process other events (and that would resume the suspended atomic intention) are never selected, since there was already an atomic intention running? Is this the intended behaviour? I expected suspended atomic intentions to exclusively execute until they are suspended, be suspended for a while (i.e. allow other intentions to execute) and then execute exclusively again when they are resumed.

@jomifred
Copy link
Contributor

jomifred commented Jul 5, 2022

Hi,

it was the intended behavior, to keep the atomicity of intentions (even if suspended). It was an initial implementation that we didn't discuss extensively.
So, I think we can discuss the issue and re-evaluate it.

@jason-lang jason-lang deleted a comment from rbordini Jul 5, 2022
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

2 participants