model: stash actions in each thread
authorBrian Norris <banorris@uci.edu>
Wed, 13 Feb 2013 00:39:33 +0000 (16:39 -0800)
committerBrian Norris <banorris@uci.edu>
Fri, 15 Feb 2013 22:55:02 +0000 (14:55 -0800)
commite0d4c19ffcaf877eaac3a2b7324daae6c1fa7a25
tree35ac93db4cf3c1241b8353a4c691019e7e3c9c01
parent18c6031154215ab85ad74fe70deb50ac8e3cbdf6
model: stash actions in each thread

We don't want a global 'current_action' for saving the next action to
run; we want to stash the 'current action' for each thread. So just use
the 'pending' action in each Thread.

Note that this kinda breaks sleep sets for now. We'll have to redo this.
model.cc
model.h