model: bugfix - send future values more eagerly
authorBrian Norris <banorris@uci.edu>
Thu, 21 Mar 2013 23:33:04 +0000 (16:33 -0700)
committerBrian Norris <banorris@uci.edu>
Thu, 21 Mar 2013 23:48:13 +0000 (16:48 -0700)
commitb77a679eea5ce045bdfb2485625890bf0a087866
tree3cfcb000733a1ecb0f8c5c4783aee0243e4abe5d
parent9cfaad02da50095ae169b8fd30ee3148bf88b282
model: bugfix - send future values more eagerly

This is a bugfix to a pretty big problem with our future value pruning,
where we would hold future values as 'pending' until all pending
promises were resolved. Unfortunately, this is unsound and must be
rewritten.

Now, we allow sending some future values even in presence of promises,
if the value is being sent to a load that is later than the last time a
Promise was created. We have a pseudo-proof that this should be correct.
model.cc
model.h