+ xbt_assert(payload != nullptr, "mailbox->get() failed");
+ if (comp_size < 0) { /* - Exit when -1.0 is received */
+ XBT_INFO("I'm done. See you!");
+ delete payload;
+ break;
+ }
+ /* - Otherwise, process the task */
+ try {
+ XBT_INFO("Start execution...");
+ simgrid::s4u::this_actor::execute(comp_size);
+ XBT_INFO("Execution complete.");
+ delete payload;
+ } catch (simgrid::HostFailureException& e) {
+ delete payload;
+ XBT_INFO("Gloups. The cpu on which I'm running just turned off!. See you!");
+ return -1;
+ }
+ } catch (simgrid::HostFailureException& e) {
+ XBT_INFO("Gloups. The cpu on which I'm running just turned off!. See you!");