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
Add a new function action_use that help to delay the free of an action. It helps...
[simgrid.git]
/
src
/
surf
/
surf_timer.c
diff --git
a/src/surf/surf_timer.c
b/src/surf/surf_timer.c
index
7f0dd60
..
57b852c
100644
(file)
--- a/
src/surf/surf_timer.c
+++ b/
src/surf/surf_timer.c
@@
-68,10
+68,10
@@
static int resource_used(void *resource_id)
return 1;
}
-static
void
action_free(surf_action_t action)
+static
int
action_free(surf_action_t action)
{
DIE_IMPOSSIBLE;
- return;
+ return
1
;
}
static void action_cancel(surf_action_t action)