Uppaal Model Repository
typedef int[1,6] id_t;
int id;
PParameters:
const id_t pid
Local declarations:
clock x;
const int k = 2;
system P;
// Mutex requirement.
A[] forall (i:id_t) forall (j:id_t) P(i).cs && P(j).cs imply i == j
// The system is deadlock free.
A[] not deadlock
// Whenever P(1) requests access to the critical section it will eventually enter the wait state.
P(1).req --> P(1).wait