add petrinet 'mutex'-example from MoSIS slides

This commit is contained in:
Joeri Exelmans 2024-11-21 14:17:50 +01:00
parent 5240c7e21a
commit c9c5a5214d
3 changed files with 59 additions and 2 deletions

View file

@ -0,0 +1,25 @@
general_1_s:PlaceState {
numTokens = 1;
}
general_2_s:PlaceState {
numTokens = 1;
}
critical_1_s:PlaceState {
numTokens = 0;
}
critical_2_s:PlaceState {
numTokens = 0;
}
semaphore_s:PlaceState {
numTokens = 1;
}
:of (general_1_s -> general_1)
:of (general_2_s -> general_2)
:of (critical_1_s -> critical_1)
:of (critical_2_s -> critical_2)
:of (semaphore_s -> semaphore)