-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add small improvements to the Disruptor spec. (#151)
- Add comment on 'Multicast' behaviour. - Add ASSUME for MaxPublished constant. - Add comment on the usage of the 'consumed' variable. - Remove WF from write actions. - Remove bounding of model happening in BeginWrite action. Use a State constraint instead. Use suggestion for liveliness property. - (The last two items are not done yet for the MPMC spec - it's less straight forward to do because of the multiple producers behaviour.) - Add 'state constraint' to feature list for Disruptor spec. - Flip 'Advance' and 'Access' state - they were flipped. - Add state constraint, improve model. - Flip 'Advance' and 'Access' states - they were flipped. - Remove model boundary from 'BeginWrite' action - separates spec and verification. - Fix 'published' variable which had an unused mapping. Signed-off-by: Nicholas Schultz-Møller <[email protected]>
- Loading branch information
1 parent
7ebd914
commit cfa1614
Showing
6 changed files
with
86 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,8 @@ INVARIANTS | |
TypeOk | ||
NoDataRaces | ||
|
||
CONSTRAINT | ||
StateConstraint | ||
|
||
CHECK_DEADLOCK | ||
FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,8 @@ INVARIANTS | |
PROPERTIES | ||
Liveliness | ||
|
||
CONSTRAINT | ||
StateConstraint | ||
|
||
CHECK_DEADLOCK | ||
FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,8 @@ INVARIANTS | |
PROPERTIES | ||
Liveliness | ||
|
||
CONSTRAINT | ||
StateConstraint | ||
|
||
CHECK_DEADLOCK | ||
FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters