model: modify promises on THREAD_{CREATE,FINISH}
authorBrian Norris <banorris@uci.edu>
Thu, 24 Jan 2013 02:47:53 +0000 (18:47 -0800)
committerBrian Norris <banorris@uci.edu>
Thu, 24 Jan 2013 02:47:53 +0000 (18:47 -0800)
commitd2985e8129a69c7fb28c080272988485830c2bd9
treed69dedf99b92b7eaf42011e62717daaffcf11744
parent3eb987279c382e0000de844728aceef2f360acf6
model: modify promises on THREAD_{CREATE,FINISH}

When a thread is created it *must* pass its promise satisfiability to
its children.

When a thread finishes, we should remove it from all promises. This can
help prune a search early, if some read was depending only on the
finishing thread: we can then declare an unresolved promise.
model.cc