CS452/652 Real-Time Programming Course Notes
Daniel M. Berry, Cheriton School of Computer Science University of Waterloo
2007 Daniel M. Berry Real-Time Programming: Trains
- Pg. 1
Assigment 1 Process Structure
Serial Guard Write Commands User Server Train Guard Read Guard Write Server Serial Notifier Server Guard Read Events Clock Events WYSE Events Train Status Track Notifier Server Clock Display Time Notifier
2007 Daniel M. Berry Real-Time Programming: Trains
- Pg. 2
Process
This graph shows only Sends. Replys, in the opposite directions are implied; so it is not necessary to show them. Also, later, a potential deadlock detection algorithm depends on having only Send arcs.
2007 Daniel M. Berry Real-Time Programming: Trains
- Pg. 3
Steady State
The diagram represents the steady state after all initialization is done. ∴, communication during initialization, e.g. with the name server, is not included.
2007 Daniel M. Berry Real-Time Programming: Trains
- Pg. 4