]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/ActivityImpl.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use std::find_if when looking for a matching comm.
[simgrid.git] / src / kernel / activity / ActivityImpl.cpp
index c6c864b6f7de79f923c3e80443d75c77e1b2198b..3ce0954a7b396f880c9e676ce77d4701a635d72b 100644 (file)
@@ -65,7 +65,7 @@ bool ActivityImpl::test()
 
 void ActivityImpl::wait_for(actor::ActorImpl* issuer, double timeout)
 {
-  XBT_DEBUG("Wait for execution of synchro %p, state %d", this, (int)state_);
+  XBT_DEBUG("Wait for execution of synchro %p, state %s", this, to_c_str(state_));
   xbt_assert(std::isfinite(timeout), "timeout is not finite!");
 
   /* Associate this simcall to the synchro */