Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
S4U is a true API, it has to have its own master-worker ;)
[simgrid.git] / examples / s4u / app-token-ring / s4u_app-token-ring.cpp
index 4a9efdb4e3b77ae9bdc90c806b1145db7e61de7c..303529be929f7e2329fda29c2af062b0d14b6df8 100644 (file)
@@ -15,11 +15,12 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_app_token_ring, "Messages specific for this s4u
 extern std::map<std::string, simgrid::s4u::Host*> host_list;
 
 class RelayRunner {
-public:
   size_t task_comm_size = 1000000; /* The token is 1MB long*/
   simgrid::s4u::MailboxPtr my_mailbox;
   simgrid::s4u::MailboxPtr neighbor_mailbox;
   unsigned int rank      = 0;
+
+public:
   explicit RelayRunner() = default;
 
   void operator()()