Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow actor transitions to be shared
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Fri, 17 Feb 2023 10:47:50 +0000 (11:47 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Mon, 20 Feb 2023 09:46:02 +0000 (10:46 +0100)
commit285132b31c7186e9b1d67b2ce96b02d216886a9f
tree027480a33b1b7f17de2eca2257bfe6bcaeb5cac1
parentc1f72d83295393da38a9373e6f0b0cf41f31cb4f
Allow actor transitions to be shared

Transitions that were stored in `ActorState`
prior to this commit were stored as `std::unique_ptr`
instances. But UDPOR events need to hold
references to the transitions that they are
"associated with". While UDPOR will discard events
at the appropriate time, we want to make sure the
reference to the transition in some `ActorState`
(ultimately in some `State` instance) remains
valid event after UDPOR discard the State object.
This could e.g. be helpful while debugging
src/mc/api/ActorState.hpp
src/mc/api/RemoteApp.cpp