[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlaplus] Weak fairness until a majority
Hi all,
Let's say that I have an ensemble of nodes and each node has a counter. I have the action Increment which increments the counter of a node, if the value is 0.
Increment ==
\E n \in Nodes :
/\ counter[n] = 0
/\ counter' = [counter EXCEPT ![n] = @ + 1]
I would like to express weak fairness of Increment, but only while a minority of nodes have incremented their counter. So once a majority have incremented their counter, the weak fairness no longer applies.
Is there a way of defining weak fairness in this way?
Thanks
Jack Vanlightly
--
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+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/b32e95fb-e3db-4425-84d7-c0392ead61bcn%40googlegroups.com.