Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add detached isend to maestro to allow tracking in case of fault
authorFabien Chaix <chaix@ics.forth.gr>
Wed, 18 May 2022 12:27:07 +0000 (15:27 +0300)
committerFabien Chaix <chaix@ics.forth.gr>
Wed, 18 May 2022 14:33:06 +0000 (17:33 +0300)
src/kernel/activity/CommImpl.cpp

index 67ef311..143ebf8 100644 (file)
@@ -266,6 +266,7 @@ ActivityImplPtr CommImpl::isend(actor::CommIsendSimcall* observer)
   if (observer->is_detached()) {
     other_comm->detach();
     other_comm->clean_fun = observer->get_clean_fun();
+    EngineImpl::get_instance()->get_maestro()->activities_.emplace_back(other_comm);
   } else {
     other_comm->clean_fun = nullptr;
     observer->get_issuer()->activities_.emplace_back(other_comm);