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

Public GIT Repository
obey our coding conventions in ActorImpl::mailboxes, and free them once only
[simgrid.git] / src / kernel / activity / Synchro.cpp
index 21dd0023302d206db54cfa1de83f197359e40eae..c9f58022e2901f007dd72c6b8c57d030840d788d 100644 (file)
@@ -10,7 +10,6 @@
 #include "src/kernel/actor/ActorImpl.hpp"
 #include "src/kernel/context/Context.hpp"
 #include "src/kernel/resource/CpuImpl.hpp"
-#include "src/simix/popping_private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ker_synchro, kernel,
                                 "Kernel synchronization activity (lock/acquire on a mutex, semaphore or condition)");
@@ -79,7 +78,7 @@ void SynchroImpl::finish()
 {
   XBT_DEBUG("SynchroImpl::finish() in state %s", get_state_str());
   xbt_assert(simcalls_.size() == 1, "Unexpected number of simcalls waiting: %zu", simcalls_.size());
-  smx_simcall_t simcall = simcalls_.front();
+  actor::Simcall* simcall = simcalls_.front();
   simcalls_.pop_front();
 
   set_exception(simcall->issuer_);