threads_internal: pass the current 'action' to the internal thread system
authorBrian Norris <banorris@uci.edu>
Tue, 10 Apr 2012 22:00:13 +0000 (15:00 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 10 Apr 2012 22:00:13 +0000 (15:00 -0700)
commitf646d6a9d7c201e54a3f7eb1f026064d4136cf2e
treeaaae7afce054533633f842a89d14ac1163b17d3c
parent3ec8b2cabc09653e410e28531669102d2bab449b
threads_internal: pass the current 'action' to the internal thread system

I build a ModelAction object to represent the properties of the current action
that are relevant to the model checker. This action should be passed from the
basic action (atomic_load, atomic_store, thread_yield, etc.) into our thread
library and eventually to the model checker.

I don't use these actions yet, but they will be shortly.
libatomic.cc
libthreads.cc
model.cc
model.h
threads_internal.h