Real-Time Object-Oriented Modeling: Difference between revisions

Content deleted Content added
The article has been improved to a large extend
m Behavior: Improved article to match Manual of Style, References after punctuation per WP:CITEFOOT and WP:PAIC using AWB (12151)
Line 53:
 
A state machine can also have a hierarchy in the sense that states can have sub state machines. Similar to the structure this can be extended to arbitrary depth.
For details of the semantics of hierarchical state machines we refer to the original book.<ref>Bran Selic, Garth Gullekson, Paul T. Ward: "Real-Time Object-Oriented Modeling", New York, John Wiley & Sons Inc, 1994, ISBN 978-0-471-59917-3</ref>.
 
An important concept in the context of state machines is the execution model of ''run-to-completion''. That means that an actor is processing a message completely before it accepts the next message. Since the run-to-completion semantics is guaranteed by the execution environment, the programmer/modeler doesn't have to deal with classical thread synchronization. And this despite the fact that typical ROOM systems are highly concurrent because of the asynchronous communication.