A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model-checker : extend MC_ignore mechanism for global variables in libsimgrid
[simgrid.git]
/
src
/
surf
/
surf_model.c
diff --git
a/src/surf/surf_model.c
b/src/surf/surf_model.c
index
8800f71
..
da1bdd7
100644
(file)
--- a/
src/surf/surf_model.c
+++ b/
src/surf/surf_model.c
@@
-16,6
+16,7
@@
static void void_die_impossible_paction(surf_action_t action)
static int int_die_impossible_paction(surf_action_t action)
{
DIE_IMPOSSIBLE;
static int int_die_impossible_paction(surf_action_t action)
{
DIE_IMPOSSIBLE;
+ return -1;
}
/** @brief initialize common datastructures to all models */
}
/** @brief initialize common datastructures to all models */
@@
-34,7
+35,6
@@
surf_model_t surf_model_init(void)
xbt_swag_new(xbt_swag_offset(action, state_hookup));
model->states.done_action_set =
xbt_swag_new(xbt_swag_offset(action, state_hookup));
xbt_swag_new(xbt_swag_offset(action, state_hookup));
model->states.done_action_set =
xbt_swag_new(xbt_swag_offset(action, state_hookup));
- model->resource_set = xbt_dict_new();
model->action_unref = int_die_impossible_paction;
model->action_cancel = void_die_impossible_paction;
model->action_unref = int_die_impossible_paction;
model->action_cancel = void_die_impossible_paction;
@@
-46,6
+46,10
@@
surf_model_t surf_model_init(void)
model->action_get_finish_time = surf_action_get_finish_time;
model->action_data_set = surf_action_data_set;
model->action_get_finish_time = surf_action_get_finish_time;
model->action_data_set = surf_action_data_set;
+ model->model_private->modified_set = NULL;
+ model->model_private->action_heap = NULL;
+ model->model_private->update_mechanism = UM_UNDEFINED;
+ model->model_private->selective_update = 0;
return model;
}
return model;
}