X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.cc;h=33c69656d7702d757cd90d44a5884fdef99e2864;hb=5e3720f6a6dccf2af670e4ab30660130f2a57c8f;hp=f0ad48feaf731d808f69212b5926170e4ce96905;hpb=b7153285e24941be76175eeb163d25f6f604f96f;p=model-checker.git diff --git a/action.cc b/action.cc index f0ad48f..33c6965 100644 --- a/action.cc +++ b/action.cc @@ -103,11 +103,9 @@ void ModelAction::copy_typeandorder(ModelAction * act) { /** This method changes an existing read part of an RMW action into either: * (1) a full RMW action in case of the completed write or * (2) a READ action in case a failed action. + * @todo If the memory_order changes, we may potentially need to update our + * clock vector. */ - -//TODO: If the memory_order changes, we may potentially need to update our -//clock vector. - void ModelAction::process_rmw(ModelAction * act) { this->order=act->order; if (act->is_rmwc()) @@ -127,7 +125,6 @@ void ModelAction::process_rmw(ModelAction * act) { * @param act is the action to consider exploring a reordering. * @return tells whether we have to explore a reordering. */ - bool ModelAction::is_synchronizing(const ModelAction *act) const { //Same thread can't be reordered