Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modified smpi_sleep() so that it returns 0, instead of the number of seconds
authorHenri Casanova <henric@hawaii.edu>
Thu, 8 May 2014 03:09:38 +0000 (17:09 -1000)
committerHenri Casanova <henric@hawaii.edu>
Thu, 8 May 2014 03:09:38 +0000 (17:09 -1000)
it was passed in (not that people check that return value much, but...)

src/smpi/smpi_bench.c

index 15fdb67..28ef158 100644 (file)
@@ -224,7 +224,7 @@ unsigned int smpi_sleep(unsigned int secs)
   simcall_host_execution_wait(action);
 
   smpi_bench_begin();
-  return secs;
+  return 0;
 }
 
 int smpi_usleep(useconds_t usecs)