Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
when doing two consecutive write, each one should have the full
authorsuter <frederic.suter@cc.in2p3.fr>
Tue, 27 May 2014 14:47:16 +0000 (16:47 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Tue, 27 May 2014 15:06:25 +0000 (17:06 +0200)
bandwidth. It wasn't the case with the lines that were commented in
storage_n11.cpp

examples/msg/io/file_unlink.c

index 04e7bdd..c07e711 100644 (file)
@@ -48,6 +48,10 @@ int host(int argc, char *argv[])
   write = MSG_file_write(file,100000);  // Write for 100Ko
   XBT_INFO("\tHave written %llu on %s",write,MSG_file_get_name(file));
 
+  // Write into the new file
+  write = MSG_file_write(file,100000);  // Write for 100Ko
+  XBT_INFO("\tHave written %llu on %s",write,MSG_file_get_name(file));
+
   // Close the file
   XBT_INFO("\tClose file '%s'",MSG_file_get_name(file));
   MSG_file_close(file);