model: thread creation establishes synchronization
authorBrian Norris <banorris@uci.edu>
Tue, 29 May 2012 17:29:59 +0000 (10:29 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 29 May 2012 21:39:22 +0000 (14:39 -0700)
commit8da693d1a0d03aeba127f434c84fcb372314b93a
tree9978735ae3714f6cb355ad700c67e909cd13d701
parent96f9065dff50a8cf382977123deb6bbd98dc78a6
model: thread creation establishes synchronization

First, I add a get_parent_action() wrapper which finds either the last action
in the current thread (get_last_action()) or if NULL, finds the parent
thread-creation action.

Then, using this functionality, I provide the correct 'parent' to the
explore_action() function, which performs the clock-vector creation.
model.cc
model.h