Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add dag scheduling lab
[simgrid.git] / src / kernel / activity / SemaphoreImpl.hpp
index 526907814f9b082b3415291629d86ebf6c1418bb..ebb439ba4931445db96d61757e260dbb1e17acd9 100644 (file)
@@ -6,13 +6,13 @@
 #ifndef SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP
 #define SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP
 
-#include <atomic>
-#include <boost/intrusive/list.hpp>
-
 #include "simgrid/s4u/Semaphore.hpp"
 #include "src/kernel/actor/ActorImpl.hpp"
 #include "src/kernel/actor/SynchroObserver.hpp"
 
+#include <atomic>
+#include <boost/intrusive/list.hpp>
+
 namespace simgrid::kernel::activity {
 
 /** Semaphore Acquisition: the act / process of acquiring the semaphore.
@@ -35,7 +35,6 @@ public:
 
   bool test(actor::ActorImpl* issuer = nullptr) override { return granted_; }
   void wait_for(actor::ActorImpl* issuer, double timeout) override;
-  void post() override;
   void finish() override;
   void cancel() override;
   void set_exception(actor::ActorImpl* issuer) override