Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adapt to API changes on gras_os_sleep
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Feb 2005 14:04:53 +0000 (14:04 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Feb 2005 14:04:53 +0000 (14:04 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1055 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/timer/timer.c

index 45cd18b..5aeb4ec 100644 (file)
@@ -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);