model: add write-to-promise edges
authorBrian Norris <banorris@uci.edu>
Tue, 5 Feb 2013 22:10:06 +0000 (14:10 -0800)
committerBrian Norris <banorris@uci.edu>
Wed, 6 Feb 2013 21:44:39 +0000 (13:44 -0800)
commit90342c146c207107ec0bf05cb70b2d7defbeaa3e
tree8ac3b139531c464a6b14c2447e032d89e367af0e
parentf06cd40fb350723b2dbe59f8c494b03a60f41b40
model: add write-to-promise edges

Assume that any time a promise exists, is compatible with a store, and
is exclusive to the same thread as the store, that it is mod-ordered
after that store. This should never produce cycles, until we decide to
begin satisfying promises. At that point, if there's a cycle, then we
must either merge nodes (i.e., the store must satisfy that promise) or
else we discard the execution for the moment and perform the
satisfaction at a later point in the search space.
model.cc