Go backward to Modeling Distributed Systems Go up to Top Go forward to System Model |
Write a server that schedules some resource among C clients such that no more than R clients operate on it at the same time.
forall C, R:
forall pc:
SystemC,R(pc) =>
always
and
R >= number i in [1,C]: pci = resource
forall i in [1,C]: (pci = request =>
eventually pci = resource)
System parameters.
Client states (program counters).
System.
Specification.
Safety: no more than R processes use resource.
Progress: every requesting process gets resource.
Goal for the design of the system.