[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlaplus] PlusCal, weak fairness



Hello,

you can specify weak fairness for some process (type) by declaring that process type as “fair process”. You can also specify fairness conditions for certain transitions at the corresponding label in the PlusCal code — please see the PlusCal manual for details. 

Regards,
Stephan 


On 3 Aug 2018, at 09:52, jakub....@xxxxxxxxx wrote:

I have a PlusCal specification with multiple processes. How to add Weak Fairness expressions to the generated code? In particular, when I hit Cmd+T, I get

    Next == ProdDb \/ ProcSync \/ ProcNow
    Spec == Init /\ [][Next]_vars

whereas I would like to have

    Spec == Init /\ [][Next]_vars /\ WF_vars(ProcDb)

--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@xxxxxxxxxxxxxxxx.
To post to this group, send email to tla...@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/tlaplus.
For more options, visit https://groups.google.com/d/optout.