|
NAME
SYNTAX
DESCRIPTION
End-state labels have the above semantics when used in proctype declarations to indicate valid end-states, or event notrace declarations to indicate invalid global end-states. They have no special meaning when used in never claims. It is considered an error (an invalid endstate) if the system can terminate in a state where not all active processes are either at the end of their code (the closing curly brace) or at a local state that is labeled as an end -state. If the run-time option -q is used with the compiled verifier that is generated by Spin, there is an additional constraint to prevent an invalid end-state from being reported: all message channels are also required to be empty. If an end -state label is used in a notrace definition, the event trace is considered to have been completely matched when the end -state that is identified in this way is reached. EXAMPLES
active proctype dijkstra() { end: do :: sema!p -> sema?v od } SEE ALSO
|