You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@edwardalee might be able to answer this. Is it necessary to have all federates (and in general all reactor programs) start by advancing their tag to the start tag, regardless of whether the program actually has any startup triggers?
If we do this, then it is possible to check if current_tag > NEVER_TAG to know whether we are properly initialized and have started execution.
The text was updated successfully, but these errors were encountered:
I think that reactor-c does advance to the start tag, even if there are no reactions to startup. However, I don't think this is necessary. I do recall that execution at the start tag has to be handled specially in a number of places, and that getting it right was not trivial.
@edwardalee might be able to answer this. Is it necessary to have all federates (and in general all reactor programs) start by advancing their tag to the start tag, regardless of whether the program actually has any startup triggers?
If we do this, then it is possible to check if
current_tag > NEVER_TAG
to know whether we are properly initialized and have started execution.The text was updated successfully, but these errors were encountered: