last_fence_release(NULL),
cv(NULL),
rf_cv(NULL),
- trace_ref(NULL),
- thrdmap_ref(NULL),
action_ref(NULL),
- func_act_ref(NULL),
value(value),
type(type),
- original_type(ATOMIC_NOP),
- swap_flag(false),
order(order),
original_order(order),
seq_number(ACTION_INITIAL_CLOCK)
last_fence_release(NULL),
cv(NULL),
rf_cv(NULL),
- trace_ref(NULL),
- thrdmap_ref(NULL),
action_ref(NULL),
- func_act_ref(NULL),
value(value),
type(type),
- original_type(ATOMIC_NOP),
- swap_flag(false),
order(order),
original_order(order),
seq_number(ACTION_INITIAL_CLOCK)
last_fence_release(NULL),
cv(NULL),
rf_cv(NULL),
- trace_ref(NULL),
- thrdmap_ref(NULL),
action_ref(NULL),
- func_act_ref(NULL),
value(value),
type(type),
- original_type(ATOMIC_NOP),
- swap_flag(false),
order(order),
original_order(order),
seq_number(ACTION_INITIAL_CLOCK)
last_fence_release(NULL),
cv(NULL),
rf_cv(NULL),
- trace_ref(NULL),
- thrdmap_ref(NULL),
action_ref(NULL),
- func_act_ref(NULL),
value(value),
type(type),
- original_type(ATOMIC_NOP),
- swap_flag(false),
order(order),
original_order(order),
seq_number(ACTION_INITIAL_CLOCK)
last_fence_release(NULL),
cv(NULL),
rf_cv(NULL),
- trace_ref(NULL),
- thrdmap_ref(NULL),
action_ref(NULL),
- func_act_ref(NULL),
value(value),
type(type),
- original_type(ATOMIC_NOP),
- swap_flag(false),
order(order),
original_order(order),
seq_number(ACTION_INITIAL_CLOCK)
* vectors which have already been rolled back to an unallocated state.
*/
- /*
- if (cv)
- delete cv; */
+
+ if (cv)
+ delete cv;
+ if (rf_cv)
+ delete rf_cv;
}
int ModelAction::getSize() const {
else
return NULL;
}
-
-/** @brief Swap type with original type */
-void ModelAction::use_original_type()
-{
- action_type_t tmp = type;
- type = original_type;
- original_type = tmp;
-
- if (swap_flag)
- swap_flag = false;
- else
- swap_flag = true;
-}