Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unify on_start/on_completion signals of Activities
[simgrid.git] / src / kernel / activity / IoImpl.cpp
index 72e4007..c9a7430 100644 (file)
@@ -61,7 +61,6 @@ IoImpl* IoImpl::start()
   surf_action_->set_activity(this);
 
   XBT_DEBUG("Create IO synchro %p %s", this, get_cname());
-  IoImpl::on_start(*this);
 
   return this;
 }
@@ -86,8 +85,6 @@ void IoImpl::post()
     timeout_detector_ = nullptr;
   }
 
-  on_completion(*this);
-
   /* Answer all simcalls associated with the synchro */
   finish();
 }
@@ -122,12 +119,6 @@ void IoImpl::finish()
   }
 }
 
-/*************
- * Callbacks *
- *************/
-xbt::signal<void(IoImpl const&)> IoImpl::on_start;
-xbt::signal<void(IoImpl const&)> IoImpl::on_completion;
-
 } // namespace activity
 } // namespace kernel
 } // namespace simgrid