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
Adapt to API changes on gras_os_sleep
[simgrid.git]
/
examples
/
gras
/
timer
/
timer.c
diff --git
a/examples/gras/timer/timer.c
b/examples/gras/timer/timer.c
index
45cd18b
..
5aeb4ec
100644
(file)
--- a/
examples/gras/timer/timer.c
+++ b/
examples/gras/timer/timer.c
@@
-66,7
+66,7
@@
int client(int argc,char *argv[]) {
gras_timer_delay(REPEAT_INTERVAL,delayed_action);
INFO1("[%.0f] Have a rest", gras_os_time());
gras_timer_delay(REPEAT_INTERVAL,delayed_action);
INFO1("[%.0f] Have a rest", gras_os_time());
- gras_os_sleep(DELAY_INTERVAL / 2.0
, 0
);
+ gras_os_sleep(DELAY_INTERVAL / 2.0);
INFO1("[%.0f] Canceling the delayed_action.",gras_os_time());
gras_timer_cancel_delay(REPEAT_INTERVAL,delayed_action);
INFO1("[%.0f] Canceling the delayed_action.",gras_os_time());
gras_timer_cancel_delay(REPEAT_INTERVAL,delayed_action);