Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move Virtu functions into the gras_os_ namespace
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 22 Jul 2004 03:18:43 +0000 (03:18 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 22 Jul 2004 03:18:43 +0000 (03:18 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@308 48e7efb5-ca39-0410-a469-dd3cf9ba447f

cruft/doc/gras-sections.txt
examples/ping/ping.c

index b514502..c030034 100644 (file)
@@ -328,8 +328,8 @@ gras_userdata_new
 <SECTION>
 <FILE>virtu_syscall</FILE>
 <TITLE>System calls abstraction layer</TITLE>
-gras_time
-gras_sleep
+gras_os_time
+gras_os_sleep
 </SECTION>
 
 <SECTION>
index 2ed1eac..aa7ad2f 100644 (file)
@@ -121,7 +121,7 @@ int server (int argc,char *argv[]) {
   if (g->endcondition)
   
   if (!gras_if_RL())
-    gras_sleep(5,0);
+    gras_os_sleep(5,0);
   gras_socket_close(g->sock);
   free(g);
   gras_exit();
@@ -161,7 +161,7 @@ int client(int argc,char *argv[]) {
   } 
 
   INFO2("Launch client (server on %s:%d)",host,port);
-  gras_sleep(5,0); /* Wait for the server to be setup */
+  gras_os_sleep(5,0); /* Wait for the server to be setup */
   if ((errcode=gras_socket_client(host,port,&(g->sock)))) {
     ERROR1("Client: Unable to connect to the server. Got %s",
           gras_error_name(errcode));