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

Explicitly specify locking strategy for fsm #20

Open
tkem opened this issue Feb 24, 2019 · 0 comments
Open

Explicitly specify locking strategy for fsm #20

tkem opened this issue Feb 24, 2019 · 0 comments

Comments

@tkem
Copy link
Owner

tkem commented Feb 24, 2019

A third template parameter should be added to class fsm, which specifies a BasicLockable.
This would be locked at the start of process_event(), so recursive invocations can be detected.
The default class should throw a logic_error in this case, except if exceptions are disabled.

tkem added a commit that referenced this issue Feb 24, 2019
tkem added a commit that referenced this issue Feb 24, 2019
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