Replies: 1 comment
-
For PChecker, new statement compiled to one of CreateStateMachine methods in ControlledRuntime, there is a scheduled point just before creating a StateMachine: Right after the StateMachine is created, OnEntry action will be called during the first time the newly created StateMachine instance runs its EventHandler: In generated ClientServer.cs, Init State of a StateMachine looks like this and Anon is an anonymous function generated for action onEntry and it will be called during above mentioned initialization.
|
Beta Was this translation helpful? Give feedback.
-
In the documentation for the
new
statement (https://p-org.github.io/P/manual/statements/#new) the language used:makes it sound as though a message is delivered to the fifo queue of the new machine. Is this true? Is a scheduling point introduced, or does the entry function of the new machine run inline with the caller of
new
?Beta Was this translation helpful? Give feedback.
All reactions