retest / gui-state-machine-api

API for the creation and modification of incomplete state machines which represent the exploration of a GUI application.
2 stars 1 forks source link

Concurrency support #15

Closed tdauth closed 5 years ago

tdauth commented 5 years ago

The NFA might be updated concurrently in the future. Add concurrency support to protect critical section from data races.

beatngu13 commented 5 years ago

As a side note: As soon as we switch the persistence to a database (be it a RDBMS, a Graph DB, etc.), we probably get concurrency support for free due to transactions.

tdauth commented 5 years ago

I will close this issue since I have added synchronized wherever concurrent access could happen. It is not the most performant way but the easiest. STM or CAS would be too complicated. When we use Neo4J, this is not required anymore.