Basic CSP "sync" - some working CSPM
This commit is contained in:
parent
cec0060984
commit
2736769825
1 changed files with 7 additions and 0 deletions
7
csp/sync.csp
Normal file
7
csp/sync.csp
Normal file
|
@ -0,0 +1,7 @@
|
|||
channel input:{0,1,2}
|
||||
|
||||
USER(i) = input!i -> USER((i+1)%3)
|
||||
CLIENT(i) = input?j -> CLIENT(j)
|
||||
SYSTEM = USER(0) ||| CLIENT(0)
|
||||
|
||||
assert SYSTEM :[deadlock free [F]]
|
Loading…
Reference in a new issue