Initially the simulator had support for concurrent informs but that has been removed, now only one inform is allowed at a time. This means that datamodel access has become single threaded and doesn't require mutexes to protect the underlying map from concurrent writes.
Also I need to reconsider what fields belong to the Datamodel and which should be moved to the State. Does it still make sense to have both structures? Need to find out.
Initially the simulator had support for concurrent informs but that has been removed, now only one inform is allowed at a time. This means that datamodel access has become single threaded and doesn't require mutexes to protect the underlying map from concurrent writes.
Also I need to reconsider what fields belong to the Datamodel and which should be moved to the State. Does it still make sense to have both structures? Need to find out.