Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Field seems unused since 10 years at least.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 24 Apr 2019 20:32:43 +0000 (22:32 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 24 Apr 2019 20:32:43 +0000 (22:32 +0200)
src/kernel/actor/ActorImpl.cpp
src/kernel/actor/ActorImpl.hpp

index aec21aa..ec818b9 100644 (file)
@@ -186,7 +186,6 @@ void ActorImpl::cleanup()
 void ActorImpl::exit()
 {
   context_->iwannadie = true;
 void ActorImpl::exit()
 {
   context_->iwannadie = true;
-  blocked_            = false;
   suspended_          = false;
   exception_          = nullptr;
 
   suspended_          = false;
   exception_          = nullptr;
 
index caef390..bbc6a5a 100644 (file)
@@ -59,7 +59,6 @@ public:
 
   std::exception_ptr exception_;
   bool finished_  = false;
 
   std::exception_ptr exception_;
   bool finished_  = false;
-  bool blocked_   = false; /* FIXME this field is never set to true. Either use it or remove it. */
   bool suspended_ = false;
 
   activity::ActivityImplPtr waiting_synchro = nullptr; /* the current blocking synchro if any */
   bool suspended_ = false;
 
   activity::ActivityImplPtr waiting_synchro = nullptr; /* the current blocking synchro if any */