X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/149c63f36e15b8500b1e826bda5138318ff7ba2b..2ccf9c22b2e9dee40858cb70a44763f4084e15da:/src/kernel/activity/SemaphoreImpl.cpp diff --git a/src/kernel/activity/SemaphoreImpl.cpp b/src/kernel/activity/SemaphoreImpl.cpp index ae98e553b3..bf3407eb45 100644 --- a/src/kernel/activity/SemaphoreImpl.cpp +++ b/src/kernel/activity/SemaphoreImpl.cpp @@ -18,7 +18,7 @@ void SemaphoreImpl::acquire(actor::ActorImpl* issuer, double timeout) if (value_ <= 0) { RawImplPtr synchro = RawImplPtr(new RawImpl()); synchro->set_host(issuer->get_host()).set_timeout(timeout).start(); - synchro->register_simcall(&issuer->simcall); + synchro->register_simcall(&issuer->simcall_); sleeping_.push_back(*issuer); } else { value_--; @@ -32,7 +32,7 @@ void SemaphoreImpl::release() if (not sleeping_.empty()) { auto& actor = sleeping_.front(); sleeping_.pop_front(); - actor.waiting_synchro = nullptr; + actor.waiting_synchro_ = nullptr; actor.simcall_answer(); } else { value_++;