Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
getters don't have to be simcalls
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 10 Aug 2019 20:41:56 +0000 (22:41 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 10 Aug 2019 20:41:56 +0000 (22:41 +0200)
src/s4u/s4u_Actor.cpp

index e351ed7..b5bbadd 100644 (file)
@@ -198,7 +198,7 @@ void Actor::resume()
 
 bool Actor::is_suspended()
 {
 
 bool Actor::is_suspended()
 {
-  return simix::simcall([this] { return pimpl_->is_suspended(); });
+  return pimpl_->is_suspended();
 }
 
 void Actor::set_kill_time(double kill_time)
 }
 
 void Actor::set_kill_time(double kill_time)