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
Allow the get_route function to be used twice in a row.
[simgrid.git]
/
src
/
surf
/
surf_model_timer.c
diff --git
a/src/surf/surf_model_timer.c
b/src/surf/surf_model_timer.c
index
14ee6b2
..
4cf18e1
100644
(file)
--- a/
src/surf/surf_model_timer.c
+++ b/
src/surf/surf_model_timer.c
@@
-155,7
+155,7
@@
static int action_is_suspended(surf_action_t action)
return 0;
}
return 0;
}
-static void finalize(void)
+static void
timer_
finalize(void)
{
xbt_heap_free(timer_heap);
timer_heap = NULL;
{
xbt_heap_free(timer_heap);
timer_heap = NULL;
@@
-183,7
+183,7
@@
static void surf_timer_model_init_internal(void)
update_actions_state;
surf_timer_model->model_private->update_resource_state =
update_resource_state;
update_actions_state;
surf_timer_model->model_private->update_resource_state =
update_resource_state;
- surf_timer_model->model_private->finalize = finalize;
+ surf_timer_model->model_private->finalize =
timer_
finalize;
surf_timer_model->suspend = action_suspend;
surf_timer_model->resume = action_resume;
surf_timer_model->suspend = action_suspend;
surf_timer_model->resume = action_resume;