8000 Research method for state machines · Issue #34 · oswald2/AURIS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Research method for state machines #34

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 ema 8000 ils.

Already on GitHub? Sign in to your account

Open
oswald2 opened this issue May 27, 2020 · 2 comments
Open

Research method for state machines #34

oswald2 opened this issue May 27, 2020 · 2 comments
Labels
enhancement New feature or request ZuriHac

Comments

@oswald2
Copy link
Owner
oswald2 commented May 27, 2020

The system has to use multiple state machines (on the protocols as well as on TC verification etc).

Currently, these are a RIO/IO spaghetti mess. A cleaner alternative would be much appreciated.
Following requirements:

  • Must support STM. The state machine requirest multiple threads. State changes are often stored in TVars. The input is often provided via either a STM conduit or an STM TBQueue. There can be multiple STM input queues present (e.g. in FOP1 there is the to-be-encoded command input and the CLCW input, which are independent)
  • Timers must be supported. This involves IO functionality. Reason is, there are timeouts in the protocol, which trigger certain actions. This must be handled, also in combination with STM waiting for input and state changes. Up until now, the timer-wheel library was used, but now I switched back to updatable-timers from Paolo.
@oswald2 oswald2 added enhancement New feature or request ZuriHac labels May 27, 2020
@szabi
Copy link
szabi commented Jun 13, 2020

Transferring this note from ZuriHac discord hereto:

https://github.com/oofp/Beseder -- Library for typesafe state machines. Make impossible state transitions impossible and more

@oswald2
Copy link
Owner Author
oswald2 commented Jun 14, 2020

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ZuriHac
Projects
None yet
Development

No branches or pull requests

2 participants
0