model: pull thread control logic out of take_step(), check_current...()
authorBrian Norris <banorris@uci.edu>
Wed, 3 Apr 2013 16:44:07 +0000 (09:44 -0700)
committerBrian Norris <banorris@uci.edu>
Fri, 5 Apr 2013 17:29:04 +0000 (10:29 -0700)
commit2b493dff916099b11e559243b117ffd5eabe8f3b
treeefcb577df5c5ac906ebeb364c182c538a74d012b
parentd775a7d6624fa14284c4a273d039bedd21a1f55c
model: pull thread control logic out of take_step(), check_current...()

Much of the scheduling and main control loop should be handled closer to
the top-level run() method. This is a start toward putting these
decisions at the appropriate level, making things more clear. Of course,
it's not complete.
model.cc
model.h