Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
comment++
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 27 Nov 2017 14:53:56 +0000 (15:53 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 27 Nov 2017 16:10:18 +0000 (17:10 +0100)
examples/s4u/energy-link/s4u-energy-link.cpp

index 94de986..e64eccf 100644 (file)
@@ -24,6 +24,7 @@ static void sender(std::vector<std::string> args)
 
   simgrid::s4u::MailboxPtr mailbox = simgrid::s4u::Mailbox::byName(std::string("message"));
 
+  /* Sleep a while before starting the example */
   simgrid::s4u::this_actor::sleep_for(10);
 
   /* - Send the task to the @ref worker */