From: mquinson Date: Wed, 23 Feb 2005 14:04:53 +0000 (+0000) Subject: Adapt to API changes on gras_os_sleep X-Git-Tag: v3.3~4297 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f9982b1b66939e9bd45cc371cdde4f129aa59365 Adapt to API changes on gras_os_sleep git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1055 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/timer/timer.c b/examples/gras/timer/timer.c index 45cd18be7b..5aeb4eccb2 100644 --- 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_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);