Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
KTLA Study
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
KTLA Study
Commits
ce3b2651
Commit
ce3b2651
authored
Feb 10, 2022
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
41758cd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Alternate.tla
Alternate.tla
+4
-4
Alternate.toolbox/Alternate___Model_1.launch
Alternate.toolbox/Alternate___Model_1.launch
+1
-1
No files found.
Alternate.tla
View file @
ce3b2651
...
...
@@ -14,9 +14,9 @@ NProcs == Max(Procs)+1 \* XXX assumes procs are 0..N
(********
--
fair
algorithm Alternate {
--algorithm Alternate {
variable turn \in Procs;
process (p \in Procs) {
fair
process (p \in Procs) {
ncs: while (TRUE) {
skip; \* non-critical section
...
...
@@ -30,7 +30,7 @@ NProcs == Max(Procs)+1 \* XXX assumes procs are 0..N
}
}
********)
\* BEGIN TRANSLATION (chksum(pcal) = "
7c28162a" /\ chksum(tla) = "dc237cc6
")
\* BEGIN TRANSLATION (chksum(pcal) = "
5d5d2a74" /\ chksum(tla) = "579f6ceb
")
VARIABLES turn, pc
vars == << turn, pc >>
...
...
@@ -65,7 +65,7 @@ p(self) == ncs(self) \/ enter(self) \/ cs(self) \/ exit(self)
Next == (\E self \in Procs: p(self))
Spec == /\ Init /\ [][Next]_vars
/\
WF_vars(Next
)
/\
\A self \in Procs : WF_vars(p(self)
)
\* END TRANSLATION
...
...
Alternate.toolbox/Alternate___Model_1.launch
View file @
ce3b2651
...
...
@@ -13,7 +13,7 @@
<stringAttribute
key=
"distributedTLC"
value=
"off"
/>
<stringAttribute
key=
"distributedTLCVMArgs"
value=
""
/>
<intAttribute
key=
"fpBits"
value=
"1"
/>
<intAttribute
key=
"fpIndex"
value=
"
26
"
/>
<intAttribute
key=
"fpIndex"
value=
"
12
"
/>
<booleanAttribute
key=
"fpIndexRandom"
value=
"true"
/>
<intAttribute
key=
"maxHeapSize"
value=
"25"
/>
<intAttribute
key=
"maxSetSize"
value=
"1000000"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment