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
Cosmetics: fix comment.
[simgrid.git]
/
src
/
gras
/
Msg
/
timer.c
diff --git
a/src/gras/Msg/timer.c
b/src/gras/Msg/timer.c
index
989fa84
..
3c97260
100644
(file)
--- a/
src/gras/Msg/timer.c
+++ b/
src/gras/Msg/timer.c
@@
-65,7
+65,7
@@
void gras_timer_cancel_delay(double interval, void_f_void_t action)
}
if (!found)
}
if (!found)
- THROW
2
(mismatch_error, 0,
+ THROW
F
(mismatch_error, 0,
"Cannot remove the action %p delayed of %f second: not found",
action, interval);
"Cannot remove the action %p delayed of %f second: not found",
action, interval);
@@
-91,7
+91,7
@@
void gras_timer_cancel_repeat(double interval, void_f_void_t action)
}
if (!found)
}
if (!found)
- THROW
2
(mismatch_error, 0,
+ THROW
F
(mismatch_error, 0,
"Cannot remove the action %p delayed of %f second: not found",
action, interval);
}
"Cannot remove the action %p delayed of %f second: not found",
action, interval);
}
@@
-115,7
+115,7
@@
void gras_timer_cancel_delay_all(void)
}
if (!found)
}
if (!found)
- THROW
0
(mismatch_error, 0, "No delayed action to remove");
+ THROW
F
(mismatch_error, 0, "No delayed action to remove");
}
}
@@
-138,7
+138,7
@@
void gras_timer_cancel_repeat_all(void)
}
if (!found)
}
if (!found)
- THROW
0
(mismatch_error, 0, "No repetitive action to remove");
+ THROW
F
(mismatch_error, 0, "No repetitive action to remove");
}
/** @brief Cancel all delayed and repetitive tasks */
}
/** @brief Cancel all delayed and repetitive tasks */